CMake: Silence OpenGL policy warning

This commit is contained in:
Maarten Bent 2018-12-01 13:43:48 +01:00
parent 271ed4d990
commit 5282f92f8f

View File

@ -53,3 +53,8 @@ if(POLICY CMP0067)
# Honor language standard in try_compile() source-file signature.
cmake_policy(SET CMP0067 NEW)
endif()
if(POLICY CMP0072)
# FindOpenGL prefers GLVND by default when available.
cmake_policy(SET CMP0072 NEW)
endif()