summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-10-12 12:03:23 -0500
committersanine <sanine.not@pm.me>2022-10-12 12:03:23 -0500
commit530ffd0b7d3c39757b20f00716e486b5caf89aff (patch)
tree76b35fdf57317038acf6b828871f6ae25fce2ebe /CMakeLists.txt
parent3dbe9332e47c143a237db12440f134caebd1cfbe (diff)
add cairo
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()