cmake: Fix MSVC multicore/minimal build toggle

floating-point
Nicolas Hake 2010-09-29 23:08:08 +02:00
parent 69debd5e60
commit c76e339ef6
1 changed files with 2 additions and 0 deletions

View File

@ -89,7 +89,9 @@ if(MSVC_VERSION GREATER 1499)
# Activate minimal rebuild
if(OC_BUILD_MULTIPROCESSOR)
list(APPEND OC_CXX_FLAGS /MP)
list(REMOVE_ITEM OC_CXX_FLAGS_DEBUG /Gm)
else()
list(REMOVE_ITEM OC_CXX_FLAGS /MP)
list(APPEND OC_CXX_FLAGS_DEBUG /Gm)
endif()
if (NOT CMAKE_CL_64)