File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -275,8 +275,13 @@ if (LIBCXX_ENABLE_SHARED)
275
275
# Since we most likely do not have a mt.exe replacement, disable the
276
276
# manifest bundling. This allows a normal cmake invocation to pass which
277
277
# will attempt to use the manifest tool to generate the bundled manifest
278
- set_target_properties (cxx_shared PROPERTIES
279
- APPEND_STRING PROPERTY LINK_FLAGS " /MANIFEST:NO" )
278
+ if (${CMAKE_CXX_COMPILER_FRONTEND_VARIANT} STREQUAL "MSVC" )
279
+ set_target_properties (cxx_shared PROPERTIES
280
+ APPEND_STRING PROPERTY LINK_FLAGS " /MANIFEST:NO" )
281
+ else ()
282
+ set_target_properties (cxx_shared PROPERTIES
283
+ APPEND_STRING PROPERTY LINK_FLAGS " -Xlinker /MANIFEST:NO" )
284
+ endif ()
280
285
endif ()
281
286
endif ()
282
287
You can’t perform that action at this time.
0 commit comments