mirror of
https://github.com/icculus/DirkSimple.git
synced 2024-06-02 03:07:42 -04:00
cmake: Turn off some overwhelming MSVC warnings.
This commit is contained in:
parent
a6b4dc36df
commit
f0f6d98c75
|
@ -44,6 +44,7 @@ if(MSVC)
|
|||
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
||||
add_definitions(-D_CRT_SECURE_NO_DEPRECATE)
|
||||
add_definitions(-D_CRT_NONSTDC_NO_DEPRECATE)
|
||||
add_definitions(-wd4018) # signed/unsigned mismatch
|
||||
else() # This assumes you have GCC or Clang at the moment.
|
||||
add_definitions(-Wall)
|
||||
if(NOT EMSCRIPTEN AND NOT ANDROID)
|
||||
|
|
Loading…
Reference in a new issue