summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3b96b55..f04e0c1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,7 +17,8 @@ add_executable(honey ${HONEY_SOURCE})
target_include_directories(
honey PUBLIC
${LIB_ROOT}
- ${LIB_ROOT}/lua-5.1.5/src
+ # ${LIB_ROOT}/lua-5.1.5/src
+ ${LIB_ROOT}/luajit-cmake/luajit/src
${CMAKE_SOURCE_DIR}/src
${LIB_ROOT}/glfw-3.3.8/include
${LIB_ROOT}/cglm/include
@@ -34,14 +35,16 @@ target_link_directories(
${LIB_ROOT}/glfw-3.3.8/src
)
-add_subdirectory(${LIB_ROOT}/lua-5.1.5)
+# add_subdirectory(${LIB_ROOT}/lua-5.1.5)
+add_subdirectory(${LIB_ROOT}/luajit-cmake)
# 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}/nanovg)
-set(LIBRARIES lua5.1 glfw cargs ODE nanovg OpenGL::GL)
+# set(LIBRARIES lua5.1 glfw cargs ODE nanovg OpenGL::GL)
+set(LIBRARIES libluajit glfw cargs ODE nanovg OpenGL::GL)
if (UNIX)
set(LIBRARIES ${LIBRARIES} dl pthread m)
endif()