diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-12-16 14:20:01 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-12-16 15:32:04 +0100 |
commit | b81634fd08ce2bec64360aaf28823ea80ed24b36 (patch) | |
tree | 190b3d5bbc0da445359503efb0f3e843e88adee5 | |
parent | a65df8d58184e06c07f0e8d28d4482f03aca0b57 (diff) |
cmake/msvc: add conformant preprocessor
-rw-r--r-- | cmake/msvc.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake index e3c05df1..54738acf 100644 --- a/cmake/msvc.cmake +++ b/cmake/msvc.cmake @@ -23,6 +23,7 @@ add_compile_options(-diagnostics:classic) #add_compile_options(-Qvec-report:2) #add_compile_options(-d2cgsummary) add_definitions(-D_HAS_EXCEPTIONS=0) +add_compile_options(-Zc:preprocessor) if(CMAKE_PROJECT_NAME STREQUAL "opentrack") #include("${CMAKE_CURRENT_LIST_DIR}/opentrack-policy.cmake" NO_POLICY_SCOPE) |