From bd6a18bb96e1a0d1baff5a8349dafd65a0d660ab Mon Sep 17 00:00:00 2001 From: James Turner Date: Mon, 24 May 2021 12:40:23 +0100 Subject: [PATCH] CMake: set OpenGL VND policy to NEW to see if it works MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OLD is causing shouty warnings from CMake, let’s see what happens if we try for NEW. --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b887b68e..3ee34678 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,7 @@ cmake_minimum_required (VERSION 3.10) -# OpenGL VND policy : use the old definition for now, until we can audit this if(POLICY CMP0072) - cmake_policy(SET CMP0072 OLD) + cmake_policy(SET CMP0072 NEW) endif() if(POLICY CMP0093)