We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9a114f commit 216f1a4Copy full SHA for 216f1a4
CMakeLists.txt
@@ -95,6 +95,9 @@ if ( MSVC )
95
# Only enabled in debug because some old versions of VS STL generate
96
# unreachable code warning when compiled in release configuration.
97
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /W4 ")
98
+
99
+ # MSVC has incompatible runtimes between debug and release modes.
100
+ set(CMAKE_DEBUG_POSTFIX "d")
101
endif()
102
103
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
0 commit comments