Fix GLEW linker warnings

This commit is contained in:
Brad Davis 2016-10-02 12:22:00 -07:00
parent 53f358d77a
commit 9bc0f24777

View file

@ -6,6 +6,7 @@
# See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
#
macro(TARGET_OPENGL)
add_definitions(-DGLEW_STATIC)
if (APPLE)
# link in required OS X frameworks and include the right GL headers
find_library(OpenGL OpenGL)