Don't warn about standard functions with MSVC

This commit is contained in:
Chris Robinson 2019-06-06 15:57:15 -07:00
parent 87ccdf02a7
commit 7537bb3492

View File

@ -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)