This commit is contained in:
Niels 2015-07-16 19:39:18 +02:00
parent c89ca716c5
commit afb17d7fac

View File

@ -11,7 +11,7 @@ if(MSVC)
"/EHsc"
)
STRING(REPLACE "-O2" "-Od" CMAKE_CXX_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_RELEASE})
STRING(REPLACE "/O2" "/Od" CMAKE_CXX_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_RELEASE})
add_definitions(-D_SCL_SECURE_NO_WARNINGS)
else(MSVC)