mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 19:22:57 +02:00
Fix GLEW linker warnings
This commit is contained in:
parent
53f358d77a
commit
9bc0f24777
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
||||||
# See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
# See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
#
|
#
|
||||||
macro(TARGET_OPENGL)
|
macro(TARGET_OPENGL)
|
||||||
|
add_definitions(-DGLEW_STATIC)
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
# link in required OS X frameworks and include the right GL headers
|
# link in required OS X frameworks and include the right GL headers
|
||||||
find_library(OpenGL OpenGL)
|
find_library(OpenGL OpenGL)
|
||||||
|
|
Loading…
Reference in a new issue