CMake: Silence OpenGL policy warning
This commit is contained in:
@@ -53,3 +53,8 @@ if(POLICY CMP0067)
|
|||||||
# Honor language standard in try_compile() source-file signature.
|
# Honor language standard in try_compile() source-file signature.
|
||||||
cmake_policy(SET CMP0067 NEW)
|
cmake_policy(SET CMP0067 NEW)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(POLICY CMP0072)
|
||||||
|
# FindOpenGL prefers GLVND by default when available.
|
||||||
|
cmake_policy(SET CMP0072 NEW)
|
||||||
|
endif()
|
||||||
|
Reference in New Issue
Block a user