summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FindOpenGL/CMP0072-NEW.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-11-20 14:42:07 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-11-20 14:43:27 (GMT)
commit9100ea1d82538b300145d589ca4961ff2050ac4d (patch)
tree14b1f1a11d4b8a89777b2d63b2a56d96a2a250c6 /Tests/RunCMake/FindOpenGL/CMP0072-NEW.cmake
parentb0c2cd47f0b62f3586e3f45ed554357ac27dd576 (diff)
parent2ea17412a9a40bd66342a1761ac8f067f5d2ab09 (diff)
downloadCMake-9100ea1d82538b300145d589ca4961ff2050ac4d.zip
CMake-9100ea1d82538b300145d589ca4961ff2050ac4d.tar.gz
CMake-9100ea1d82538b300145d589ca4961ff2050ac4d.tar.bz2
Merge topic 'FindOpenGL-glvnd-policy'
2ea17412 FindOpenGL: Add policy CMP0072 to prefer GLVND for legacy GL Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Clinton Stimpson <clinton@elemtech.com> Merge-request: !1491
Diffstat (limited to 'Tests/RunCMake/FindOpenGL/CMP0072-NEW.cmake')
-rw-r--r--Tests/RunCMake/FindOpenGL/CMP0072-NEW.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/FindOpenGL/CMP0072-NEW.cmake b/Tests/RunCMake/FindOpenGL/CMP0072-NEW.cmake
new file mode 100644
index 0000000..6cbbeec
--- /dev/null
+++ b/Tests/RunCMake/FindOpenGL/CMP0072-NEW.cmake
@@ -0,0 +1,2 @@
+cmake_policy(SET CMP0072 NEW)
+include(CMP0072-common.cmake)