diff options
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | external/CMakeLists.txt | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 924170f2..94e56c5e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,6 +75,7 @@ endif() if(MSVC) add_definitions(-D_USE_MATH_DEFINES=1) add_compile_options(-permissive-) + add_compile_options(-Zc:preprocessor -Zc:inline -Zc:lambda -Zc:throwingNew) add_compile_options(-external:W0 -external:anglebrackets) add_compile_options( #-wd4244 # warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index 6cf2ad2d..e7882d18 100644 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -25,6 +25,7 @@ else() add_compile_options( -Wno-error -Wno-undef + -Wno-old-style-cast ) endif() |