From 530ffd0b7d3c39757b20f00716e486b5caf89aff Mon Sep 17 00:00:00 2001 From: sanine Date: Wed, 12 Oct 2022 12:03:23 -0500 Subject: add cairo --- CMakeLists.txt | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'CMakeLists.txt') 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() -- cgit v1.2.1