From 02cfd941c9c832d795746cf7783b952bc76d0709 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 3862d6a5..fc994a57 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 CMP0072 OLD) + endif() + if(POLICY CMP0093) cmake_policy(SET CMP0093 NEW) endif()