Set CMake OpenGL VND policy
This commit is contained in:
parent
6beeea2bd5
commit
af00b5e304
1 changed files with 5 additions and 0 deletions
|
@ -22,6 +22,11 @@ if(COMMAND cmake_policy)
|
|||
if(POLICY CMP0071)
|
||||
cmake_policy(SET CMP0071 NEW)
|
||||
endif()
|
||||
|
||||
# OpenGL VND policy : use the old definition for now, until we can audit this
|
||||
if(POLICY CMP0072)
|
||||
cmake_policy(SET CMP0071 OLD)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
message("CMAKE Build type: ${CMAKE_BUILD_TYPE}")
|
||||
|
|
Loading…
Add table
Reference in a new issue