cmake: Add _CRT_NONSTDC_NO_WARNINGS def to all projects
This commit is contained in:
parent
2d84da2f7e
commit
5c2328cca2
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user