diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3bf15774..37b55e28 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -204,7 +204,7 @@ IF(NOT CMAKE_DEBUG_POSTFIX) ENDIF() IF(MSVC) - SET(CPP_DEFS ${CPP_DEFS} NOMINMAX) + SET(CPP_DEFS ${CPP_DEFS} _CRT_SECURE_NO_WARNINGS NOMINMAX) SET(C_FLAGS ${C_FLAGS} /wd4065 /wd4200) IF(NOT DXSDK_DIR) |