10 lines
428 B
CMake
10 lines
428 B
CMake
|
# Try to find the GLEW librairy
|
||
|
# GLEW_FOUND - system has GLEW
|
||
|
# GLEW_INCLUDE_DIR - the GLEW include directory
|
||
|
# GLEW_LIBRARY - the GLEW library
|
||
|
|
||
|
FIND_PATH(GLEW_INCLUDE_DIR NAMES GL/glew.h)
|
||
|
FIND_LIBRARY(GLEW_LIBRARY NAMES libGLEW.a libglew32.a GLEW glew32)
|
||
|
INCLUDE(FindPackageHandleStandardArgs)
|
||
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GLEW DEFAULT_MSG GLEW_LIBRARY GLEW_INCLUDE_DIR)
|
||
|
MARK_AS_ADVANCED(GLEW_LIBRARY GLEW_INCLUDE_DIR)
|