summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-08-21 20:31:58 -0500
committersanine <sanine.not@pm.me>2022-08-21 20:31:58 -0500
commit74e48c197a57c9f7920ce048c9bf4b59d5303e18 (patch)
treec3591c6aa1b0add49894847a3758100732c2b202
parent5a1275f661f2d879411411a1376b790f8aec7947 (diff)
add glfw to CMakeLists.txt
-rw-r--r--CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c36fc99..a76d76b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,12 +12,14 @@ set(LIB_ROOT ${CMAKE_SOURCE_DIR}/libs)
include_directories(
${LUA_INCLUDE_DIR}
${CMAKE_SOURCE_DIR}/src
- ${CMAKE_SOURCE_DIR}/libs/honeysuckle/src
+ ${LIB_ROOT}/honeysuckle/src
+ ${LIB_ROOT}/glfw-3.3.8/include
)
# 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)
# add_library(glad ${SRC_ROOT}/gl/glad/glad.c)
# add_library(stb_image src/stb_image/stb_image.c)
@@ -25,6 +27,7 @@ add_subdirectory(${LIB_ROOT}/lua-5.1.5)
add_subdirectory(${LIB_ROOT}/assimp)
add_subdirectory(${LIB_ROOT}/honeysuckle)
add_subdirectory(${LIB_ROOT}/cglm)
+add_subdirectory(${LIB_ROOT}/glfw-3.3.8)
set(HONEY_LIB_FILES