One more tweak.....
This commit is contained in:
parent
d60d9120b4
commit
56c6062a81
@ -68,6 +68,7 @@ add_subdirectory("${PROJECT_SOURCE_DIR}/lib/enet")
|
|||||||
include_directories("${PROJECT_SOURCE_DIR}/lib/enet/include")
|
include_directories("${PROJECT_SOURCE_DIR}/lib/enet/include")
|
||||||
|
|
||||||
# Build glew library
|
# Build glew library
|
||||||
|
add_definitions(-DGLEW_NO_GLU)
|
||||||
add_subdirectory("${PROJECT_SOURCE_DIR}/lib/glew")
|
add_subdirectory("${PROJECT_SOURCE_DIR}/lib/glew")
|
||||||
include_directories("${PROJECT_SOURCE_DIR}/lib/glew/include")
|
include_directories("${PROJECT_SOURCE_DIR}/lib/glew/include")
|
||||||
|
|
||||||
|
@ -11,7 +11,6 @@ find_package(OpenGL REQUIRED)
|
|||||||
include_directories(${OPENGL_INCLUDE_DIR})
|
include_directories(${OPENGL_INCLUDE_DIR})
|
||||||
|
|
||||||
add_definitions(-DGLEW_STATIC)
|
add_definitions(-DGLEW_STATIC)
|
||||||
add_definitions(-DGLEW_NO_GLU)
|
|
||||||
|
|
||||||
add_library(glew STATIC
|
add_library(glew STATIC
|
||||||
include/GL/glew.h include/GL/glxew.h include/GL/wglew.h
|
include/GL/glew.h include/GL/glxew.h include/GL/wglew.h
|
||||||
|
Loading…
Reference in New Issue
Block a user