mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-11 01:23:48 +00:00
Merge pull request #43 from tobybell/master
Silence warning for policy CMP0042
This commit is contained in:
commit
c7dc7efe4e
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user