summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-policy.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/opentrack-policy.cmake')
-rw-r--r--cmake/opentrack-policy.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/opentrack-policy.cmake b/cmake/opentrack-policy.cmake
index e4fded7a..e86cd284 100644
--- a/cmake/opentrack-policy.cmake
+++ b/cmake/opentrack-policy.cmake
@@ -1,3 +1,4 @@
+include_guard(GLOBAL)
foreach(k CMP0020 CMP0022 CMP0058 CMP0028 CMP0042 CMP0063 CMP0053 CMP0011 CMP0054 CMP0012)
if(POLICY ${k})
cmake_policy(SET ${k} NEW)