CMake: set OpenGL VND policy to NEW to see if it works

OLD is causing shouty warnings from CMake, let’s see what happens if
we try for NEW.
This commit is contained in:
James Turner 2021-05-24 12:40:23 +01:00
parent 8d0d1f9047
commit bd6a18bb96

View File

@ -1,8 +1,7 @@
cmake_minimum_required (VERSION 3.10) cmake_minimum_required (VERSION 3.10)
# OpenGL VND policy : use the old definition for now, until we can audit this
if(POLICY CMP0072) if(POLICY CMP0072)
cmake_policy(SET CMP0072 OLD) cmake_policy(SET CMP0072 NEW)
endif() endif()
if(POLICY CMP0093) if(POLICY CMP0093)