glew/build/conan/FindGLEW.cmake

17 lines
506 B
CMake
Raw Normal View History

2017-06-25 18:15:34 +00:00
find_path(GLEW_INCLUDE_DIR NAMES GL PATHS include)
find_library(GLEW_LIBRARY NAMES GLEW GLEWd glew32 glew32s glew32d glew32sd PATHS lib )
MESSAGE("** GLEW FOUND BY CONAN")
SET(GLEW_FOUND TRUE)
MESSAGE("** FOUND GLEW: ${GLEW_LIBRARY}")
MESSAGE("** FOUND GLEW INCLUDE: ${GLEW_INCLUDE_DIR}")
set(GLEW_INCLUDE_DIRS ${GLEW_INCLUDE_DIR})
set(GLEW_LIBRARIES ${GLEW_LIBRARY})
mark_as_advanced(GLEW_LIBRARY GLEW_INCLUDE_DIR)
set(GLEW_MAJOR_VERSION "2")
set(GLEW_MINOR_VERSION "0")
set(GLEW_PATCH_VERSION "0")