diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 507e2e2..ef38dec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,15 +7,19 @@ set(CMAKE_C_FLAGS "-g") find_package(OpenGL REQUIRED) find_package(Lua51 REQUIRED) +set(SRC_ROOT ${CMAKE_SOURCE_DIR}/src) +set(LIB_ROOT ${CMAKE_SOURCE_DIR}/libs) + include_directories(${LUA_INCLUDE_DIR} ${CMAKE_SOURCE_DIR}/src) -# link to third-party included libraries -link_directories(${SRC_ROOT}/mesh/assimp-master/lib) -set(SRC_ROOT ${CMAKE_SOURCE_DIR}/src) +# link to third-party included libraries +link_directories(${LIB_ROOT}/assimp/lib) +link_directories(${LIB_ROOT}/honeysuckle) add_library(glad ${SRC_ROOT}/gl/glad/glad.c) # add_library(stb_image src/stb_image/stb_image.c) -add_subdirectory(${SRC_ROOT}/mesh/assimp-master) +add_subdirectory(${LIB_ROOT}/assimp) +add_subdirectory(${LIB_ROOT}/honeysuckle) set(HONEY_LIB_FILES |