diff options
author | Brad King <brad.king@kitware.com> | 2017-11-15 19:18:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-11-17 12:17:28 (GMT) |
commit | 2ea17412a9a40bd66342a1761ac8f067f5d2ab09 (patch) | |
tree | f5f8bb250ff5c251761dae6922f9725f316b68ea /Tests/FindOpenGL | |
parent | 2392f6ea3e3fc4d541594ea7e86be2bb607ba876 (diff) | |
download | CMake-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/FindOpenGL')
-rw-r--r-- | Tests/FindOpenGL/Test/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/FindOpenGL/Test/CMakeLists.txt b/Tests/FindOpenGL/Test/CMakeLists.txt index 3b5ffee..9004a98 100644 --- a/Tests/FindOpenGL/Test/CMakeLists.txt +++ b/Tests/FindOpenGL/Test/CMakeLists.txt @@ -1,4 +1,5 @@ -cmake_minimum_required(VERSION 3.9) +cmake_minimum_required(VERSION 3.10) +cmake_policy(SET CMP0072 NEW) project(TestFindOpenGL C) include(CTest) |