summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FindOpenGL/CMP0072-OLD.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-11-15 19:18:03 (GMT)
committerBrad King <brad.king@kitware.com>2017-11-17 12:17:28 (GMT)
commit2ea17412a9a40bd66342a1761ac8f067f5d2ab09 (patch)
treef5f8bb250ff5c251761dae6922f9725f316b68ea /Tests/RunCMake/FindOpenGL/CMP0072-OLD.cmake
parent2392f6ea3e3fc4d541594ea7e86be2bb607ba876 (diff)
downloadCMake-2ea17412a9a40bd66342a1761ac8f067f5d2ab09.zip
CMake-2ea17412a9a40bd66342a1761ac8f067f5d2ab09.tar.gz
CMake-2ea17412a9a40bd66342a1761ac8f067f5d2ab09.tar.bz2
FindOpenGL: Add policy CMP0072 to prefer GLVND for legacy GL
Fixes: #17449
Diffstat (limited to 'Tests/RunCMake/FindOpenGL/CMP0072-OLD.cmake')
-rw-r--r--Tests/RunCMake/FindOpenGL/CMP0072-OLD.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/FindOpenGL/CMP0072-OLD.cmake b/Tests/RunCMake/FindOpenGL/CMP0072-OLD.cmake
new file mode 100644
index 0000000..6d57004
--- /dev/null
+++ b/Tests/RunCMake/FindOpenGL/CMP0072-OLD.cmake
@@ -0,0 +1,2 @@
+cmake_policy(SET CMP0072 OLD)
+include(CMP0072-common.cmake)