Merge pull request #43 from tobybell/master

Silence warning for policy CMP0042
This commit is contained in:
Gyusun Yeom 2021-03-10 14:41:28 +09:00 committed by GitHub
commit c7dc7efe4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -52,6 +52,10 @@ else()
set(USE_NAMESPACED_LIB NO)
endif()
if(POLICY CMP0042)
cmake_policy(SET CMP0042 NEW)
endif()
if(POLICY CMP0072)
set(OpenGL_GL_PREFERENCE GLVND)
endif()