diff --git a/CMakeLists.txt b/CMakeLists.txt index 81a92bc9..293a62f3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -166,6 +166,7 @@ IF(MSVC) add_compile_options($<$:/MP>) # Force dynamic runtime library to be in debug mode in debug mode. add_compile_options($<$:$<$:/MDd>>) + add_compile_options($<$:$<$:/MD>>) # Don't generate a blah.manifest file for each build target. add_link_options(LINKER:/MANIFEST:NO) ELSEIF(UNIX)