diff options
Diffstat (limited to 'cmake/opentrack-policy.cmake')
-rw-r--r-- | cmake/opentrack-policy.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cmake/opentrack-policy.cmake b/cmake/opentrack-policy.cmake new file mode 100644 index 00000000..48aba3cc --- /dev/null +++ b/cmake/opentrack-policy.cmake @@ -0,0 +1,10 @@ +cmake_policy(SET CMP0020 NEW) +if(POLICY CMP0058) + cmake_policy(SET CMP0058 OLD) +endif() +if(POLICY CMP0028) + cmake_policy(SET CMP0028 OLD) +endif() +if(POLICY CMP0042) + cmake_policy(SET CMP0042 NEW) +endif() |