glew:use cmake include module

This commit is contained in:
andy5995
2018-10-03 01:35:42 -05:00
parent 77f85d7d09
commit 4da0c7bc73
4 changed files with 3 additions and 65 deletions

View File

@@ -178,7 +178,7 @@ IF(BUILD_MODEL_VIEWER OR BUILD_MAP_EDITOR OR BUILD_ZETAGLEST)
SET(EXTERNAL_LIBS ${EXTERNAL_LIBS} ${FREETYPE_LIBRARY})
ENDIF()
FIND_PACKAGE(GLEW REQUIRED)
include(FindGLEW)
INCLUDE_DIRECTORIES(${GLEW_INCLUDE_DIRS})
IF(UNIX)
SET(EXTERNAL_LIBS ${EXTERNAL_LIBS} ${GLEW_LIBRARIES})