Commit 042e4a78 authored by Thomas Eppers's avatar Thomas Eppers
Browse files

renamed variable for glew library

parent e6b6956d
......@@ -67,13 +67,13 @@ endif ()
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/lib/glew/include
)
set(GLEW_SRC
set(glew_SRC
${CMAKE_CURRENT_SOURCE_DIR}/lib/glew/src/glew.c
${CMAKE_CURRENT_SOURCE_DIR}/lib/glew/src/glewinfo.c
${CMAKE_CURRENT_SOURCE_DIR}/lib/glew/src/visualinfo.c
)
add_definitions(-DGLEW_STATIC)
add_library(glew_static ${GLEW_SRC})
add_library(glew_static ${glew_SRC})
FILE(GLOB_RECURSE Recast_cpp
${CMAKE_CURRENT_SOURCE_DIR}/lib/recastnavigation/Recast/*.cpp
......@@ -115,6 +115,7 @@ FILE(GLOB_RECURSE nanovg_src
add_library(nanovg STATIC ${nanovg_src})
set(LINKED_LIBRARIES
glew_static
nanovg
DebugUtils
DetourCrowd
......@@ -129,6 +130,6 @@ set(LINKED_LIBRARIES
)
add_executable(Game ${clion_all_headers})
target_link_libraries(Game ${LINKED_LIBRARIES} glew_static)
target_link_libraries(Game ${LINKED_LIBRARIES})
file(COPY assets DESTINATION .)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment