summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-platform.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-12-31 23:26:51 +0100
committerStanislaw Halik <sthalik@misaki.pl>2021-12-31 23:26:51 +0100
commitbf6cd9bec0053a1bc1373066d83e54cbc74a4140 (patch)
tree4447d71c93cc4c988241e906f4469f446c7fdf46 /cmake/opentrack-platform.cmake
parentc502789d911db7a3a3ce705fe7fc5e77c152572c (diff)
cmake: always use -Zc:inline for msvc
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 488434f7..62c27d7d 100644
--- a/cmake/opentrack-platform.cmake
+++ b/cmake/opentrack-platform.cmake
@@ -144,6 +144,7 @@ if(MSVC)
add_compile_options(-external:W0 -external:anglebrackets)
endif()
add_compile_options(-Zc:preprocessor)
+ add_compile_options(-Zc:inline)
#C4457: declaration of 'id' hides function parameter
#C4456: declaration of 'i' hides previous local declaration