summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-platform.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/opentrack-platform.cmake')
-rw-r--r--cmake/opentrack-platform.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake
index d44f0ea0..d96fcc3a 100644
--- a/cmake/opentrack-platform.cmake
+++ b/cmake/opentrack-platform.cmake
@@ -140,6 +140,7 @@ if(MSVC)
if (MSVC_VERSION MATCHES "^(19[3-9]..|2...)$")
add_compile_options(-external:W0 -external:anglebrackets)
endif()
+ add_compile_options(-Zc:preprocessor)
#C4457: declaration of 'id' hides function parameter
#C4456: declaration of 'i' hides previous local declaration