cmake: Add _CRT_NONSTDC_NO_WARNINGS def to all projects

This commit is contained in:
jp9000 2017-06-27 09:54:53 -07:00
parent 2d84da2f7e
commit 5c2328cca2

View File

@ -62,7 +62,7 @@ elseif(MSVC)
endif()
if(WIN32)
add_definitions(-DUNICODE -D_UNICODE -D_CRT_SECURE_NO_WARNINGS)
add_definitions(-DUNICODE -D_UNICODE -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS)
endif()
if(MSVC)