diff options
Diffstat (limited to 'cmake/msvc.cmake')
-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) |