File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -248,18 +248,18 @@ if (LIBCXX_ENABLE_SHARED)
248248 list (APPEND LIBCXX_BUILD_TARGETS "cxx_shared" )
249249endif ()
250250
251- if (WIN32 AND NOT MINGW AND NOT "${CMAKE_HOST_SYSTEM_NAME} " STREQUAL "Windows" )
252- # Since we most likely do not have a mt.exe replacement, disable the
253- # manifest bundling. This allows a normal cmake invocation to pass which
254- # will attempt to use the manifest tool to generate the bundled manifest
255- if (${CMAKE_CXX_COMPILER_FRONTEND_VARIANT} STREQUAL "MSVC" )
256- set_target_properties (cxx_shared PROPERTIES
257- APPEND_STRING PROPERTY LINK_FLAGS " /MANIFEST:NO" )
258- else ()
259- set_target_properties (cxx_shared PROPERTIES
260- APPEND_STRING PROPERTY LINK_FLAGS " -Xlinker /MANIFEST:NO" )
261- endif ()
251+ if (WIN32 AND NOT MINGW AND NOT "${CMAKE_HOST_SYSTEM_NAME} " STREQUAL "Windows" )
252+ # Since we most likely do not have a mt.exe replacement, disable the
253+ # manifest bundling. This allows a normal cmake invocation to pass which
254+ # will attempt to use the manifest tool to generate the bundled manifest
255+ if (${CMAKE_CXX_COMPILER_FRONTEND_VARIANT} STREQUAL "MSVC" )
256+ set_target_properties (cxx_shared PROPERTIES
257+ APPEND_STRING PROPERTY LINK_FLAGS " /MANIFEST:NO" )
258+ else ()
259+ set_target_properties (cxx_shared PROPERTIES
260+ APPEND_STRING PROPERTY LINK_FLAGS " -Xlinker /MANIFEST:NO" )
262261 endif ()
262+ endif ()
263263
264264set (CMAKE_STATIC_LIBRARY_PREFIX "lib" )
265265
You can’t perform that action at this time.
0 commit comments