mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2025-02-19 15:10:42 +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)
|
set(USE_NAMESPACED_LIB NO)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(POLICY CMP0042)
|
||||||
|
cmake_policy(SET CMP0042 NEW)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(POLICY CMP0072)
|
if(POLICY CMP0072)
|
||||||
set(OpenGL_GL_PREFERENCE GLVND)
|
set(OpenGL_GL_PREFERENCE GLVND)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user