We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 260ba19 commit 48d1959Copy full SHA for 48d1959
1 file changed
3rdparty/libcmt/CMakeLists.txt
@@ -94,8 +94,7 @@ if(patch_libcmd)
94
message(STATUS "Patched LIBCMT.LIB: ${PATCHED_LIBCMT}")
95
96
# Tell the linker to use our patched LIBCMT instead of RTM's
97
- target_link_options(patched-libcmt INTERFACE "/NODEFAULTLIB:LIBCMT.LIB")
98
- target_link_libraries(patched-libcmt INTERFACE "${PATCHED_LIBCMT}")
+ target_link_options(patched-libcmt INTERFACE "-NODEFAULTLIB:LIBCMT.LIB" "${PATCHED_LIBCMT}")
99
else()
100
message(STATUS "CRT will not be 100% matching")
101
endif()
0 commit comments