summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt12
1 files changed, 8 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 54d6771..a1bba87 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -27,9 +27,12 @@ include_directories(
add_definitions(-DCGLM_ALL_UNALIGNED)
# link to third-party included libraries
-link_directories(${LIB_ROOT}/assimp/lib)
-link_directories(${LIB_ROOT}/honeysuckle)
-link_directories(${LIB_ROOT}/glfw-3.3.8/src)
+link_directories(
+ ${LIB_ROOT}/assimp/lib
+ ${LIB_ROOT}/honeysuckle
+ ${LIB_ROOT}/glfw-3.3.8/src
+ ${LIB_ROOT}/cairo-1.16.0/src
+)
add_subdirectory(${LIB_ROOT}/lua-5.1.5)
add_subdirectory(${LIB_ROOT}/assimp)
@@ -38,12 +41,13 @@ add_subdirectory(${LIB_ROOT}/cglm)
add_subdirectory(${LIB_ROOT}/glfw-3.3.8)
add_subdirectory(${LIB_ROOT}/cargs)
add_subdirectory(${LIB_ROOT}/ode-0.16.1)
+add_subdirectory(${LIB_ROOT}/cairo-1.16.0)
set(HONEY_SOURCE ${SRC_ROOT}/main.c)
add_executable(honey ${HONEY_SOURCE})
-set(LIBRARIES lua5.1 honeysuckle glfw cargs assimp cairo ODE)
+set(LIBRARIES lua5.1 honeysuckle glfw cargs assimp cairo-static ODE)
if (WIN32)
set(LIBRARIES ${LIBRARIES} opengl32)
else()