diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 44a9b687e47..6527cf1c78c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1328,15 +1328,8 @@ elseif(WIN32) set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} /MT") set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} /MT") - set(PLATFORM_LINKFLAGS - "/SUBSYSTEM:CONSOLE " - "/STACK:2097152 " - "/INCREMENTAL:NO " - "/NODEFAULTLIB:msvcrt.lib " - "/NODEFAULTLIB:msvcmrt.lib " - "/NODEFAULTLIB:msvcurt.lib " - "/NODEFAULTLIB:msvcrtd.lib " - ) + set(PLATFORM_LINKFLAGS "/SUBSYSTEM:CONSOLE /STACK:2097152 /INCREMENTAL:NO ") + set(PLATFORM_LINKFLAGS "${PLATFORM_LINKFLAGS} /NODEFAULTLIB:msvcrt.lib /NODEFAULTLIB:msvcmrt.lib /NODEFAULTLIB:msvcurt.lib /NODEFAULTLIB:msvcrtd.lib ") # Ignore meaningless for us linker warnings. set(PLATFORM_LINKFLAGS "${PLATFORM_LINKFLAGS} /ignore:4049 /ignore:4217 /ignore:4221") |