diff options
Diffstat (limited to 'cmake/opentrack-policy.cmake')
| -rw-r--r-- | cmake/opentrack-policy.cmake | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/cmake/opentrack-policy.cmake b/cmake/opentrack-policy.cmake index e4fded7a..5fd8647f 100644 --- a/cmake/opentrack-policy.cmake +++ b/cmake/opentrack-policy.cmake @@ -1,5 +1,24 @@ -foreach(k CMP0020 CMP0022 CMP0058 CMP0028 CMP0042 CMP0063 CMP0053 CMP0011 CMP0054 CMP0012) +include_guard(GLOBAL) + +set(_policies + CMP0020 + CMP0022 + CMP0058 + CMP0028 + CMP0042 + CMP0063 + CMP0053 + CMP0011 + CMP0054 + CMP0012 + CMP0069 + CMP0063 + CMP0074 +) +foreach(k ${_policies}) if(POLICY ${k}) cmake_policy(SET ${k} NEW) endif() endforeach() + +set(CMAKE_INSTALL_MESSAGE LAZY) |
