diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-09-01 15:11:25 -0300 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-09-14 17:39:51 -0300 |
commit | f226365f55f7b3468d54e7af6c42f1198da0af94 (patch) | |
tree | 701286e81edeba6fcdb9c847b7dc12b4dac312ff | |
parent | d91f1c062440a89570e54c079ebdff5a559e0874 (diff) |
CMake: Silence more MSVC "deprecation" warnings
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index fa6463b01..604362e57 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -74,7 +74,7 @@ if (NOT MSVC) endif() else() # Silence "deprecation" warnings - add_definitions(/D_CRT_SECURE_NO_WARNINGS /D_CRT_NONSTDC_NO_DEPRECATE) + add_definitions(/D_CRT_SECURE_NO_WARNINGS /D_CRT_NONSTDC_NO_DEPRECATE /D_SCL_SECURE_NO_WARNINGS) # Avoid windows.h junk add_definitions(/DNOMINMAX) |