From 74e48c197a57c9f7920ce048c9bf4b59d5303e18 Mon Sep 17 00:00:00 2001 From: sanine Date: Sun, 21 Aug 2022 20:31:58 -0500 Subject: add glfw to CMakeLists.txt --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1