Commit 32dcab36 authored by Thomas Eppers's avatar Thomas Eppers
Browse files

changed inclusion of nanovg library

parent 042e4a78
......@@ -33,7 +33,6 @@ include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/lib/recastnavigation/DebugUtils/Include
${CMAKE_CURRENT_SOURCE_DIR}/lib/recastnavigation/DetourTileCache/Include
${CMAKE_CURRENT_SOURCE_DIR}/include
${CMAKE_CURRENT_SOURCE_DIR}/lib/nanovg/src
)
FILE(GLOB_RECURSE clion_all_headers
${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp
......@@ -92,7 +91,12 @@ add_library(Detour STATIC ${Detour_cpp})
FILE(GLOB_RECURSE DetourCrowd_cpp
${CMAKE_CURRENT_SOURCE_DIR}/lib/recastnavigation/DetourCrowd/*.cpp
${CMAKE_CURRENT_SOURCE_DIR}/lib/recastnavigation/DetourCrowd/*.h
#nanovg library
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/lib/nanovg/src)
set(nanovg_SRC
${CMAKE_CURRENT_SOURCE_DIR}/lib/nanovg/src/nanovg.c
)
add_library(nanovg ${nanovg_SRC})
add_library(DetourCrowd STATIC ${DetourCrowd_cpp})
......@@ -106,10 +110,6 @@ FILE(GLOB_RECURSE DebugUtils
add_library(DebugUtils STATIC ${DebugUtils})
FILE(GLOB_RECURSE nanovg_src
${CMAKE_CURRENT_SOURCE_DIR}/lib/nanovg/src/*.cpp
${CMAKE_CURRENT_SOURCE_DIR}/lib/nanovg/src/*.c
${CMAKE_CURRENT_SOURCE_DIR}/lib/nanovg/src/*.h
)
add_library(nanovg STATIC ${nanovg_src})
......
Markdown is supported
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