1 2 3 4
project (LibGLEW C) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include) add_library(glew STATIC glew.c include/GL/glew.h)