Don't warn about standard functions with MSVC
This commit is contained in:
parent
87ccdf02a7
commit
7537bb3492
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user