From 0e3ac7e07889b6f7ac5f8af3cf2d853a7c816ced Mon Sep 17 00:00:00 2001 From: James Turner Date: Fri, 5 Jun 2020 13:32:36 +0100 Subject: [PATCH] Set CMake OpenGL VND policy --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2360c31c..7fcb66c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,12 @@ if(COMMAND cmake_policy) if(POLICY CMP0067) cmake_policy(SET CMP0067 NEW) endif() + + # OpenGL VND policy : use the old definition for now, until we can audit this + if(POLICY CMP0072) + cmake_policy(SET CMP0071 OLD) + endif() + if(POLICY CMP0093) cmake_policy(SET CMP0093 NEW) endif()