Set CMake OpenGL VND policy

This commit is contained in:
James Turner 2020-06-05 13:32:36 +01:00
parent 01ab3b2385
commit 0e3ac7e078

View File

@ -10,6 +10,12 @@ if(COMMAND cmake_policy)
if(POLICY CMP0067) if(POLICY CMP0067)
cmake_policy(SET CMP0067 NEW) cmake_policy(SET CMP0067 NEW)
endif() 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) if(POLICY CMP0093)
cmake_policy(SET CMP0093 NEW) cmake_policy(SET CMP0093 NEW)
endif() endif()