From 7537bb349213bafb59e27117bbfe007ae7b573f3 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 6 Jun 2019 15:57:15 -0700 Subject: Don't warn about standard functions with MSVC --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3