Ignore warnings for use of legacy CRT functions when compiling with MSVC for now
There's no warning about these when compiling for other targets so let's ignore them for now.
This commit is contained in:
parent
c60584e122
commit
c6396f92fc
|
@ -690,6 +690,10 @@ else ()
|
|||
endforeach ()
|
||||
endif ()
|
||||
|
||||
# configure warnings
|
||||
configure_development_warnings(APPEND_OUTPUT_VAR META_PRIVATE_COMPILE_OPTIONS)
|
||||
if (MSVC)
|
||||
list(APPEND META_PRIVATE_COMPILE_DEFINITIONS _CRT_SECURE_NO_WARNINGS=1)
|
||||
endif ()
|
||||
|
||||
set(BASIC_PROJECT_CONFIG_DONE YES)
|
||||
|
|
Loading…
Reference in New Issue