From 8a3d208ba81a7413607b0feb3e1414b03a3dde11 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Fri, 15 Feb 2019 22:24:04 +0500 Subject: Added lua-support --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index ac8e5c8..a5cf1f8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,6 +77,11 @@ find_package(ZLIB REQUIRED) target_link_libraries(AltCraft ${ZLIB_LIBRARIES}) target_include_directories(AltCraft PUBLIC ${ZLIB_INCLUDE_DIRS}) +#Setup Lua +find_package(Lua REQUIRED) +target_link_libraries(AltCraft ${LUA_LIBRARIES}) +target_include_directories(AltCraft PUBLIC ${LUA_INCLUDE_DIR}) + ################# # COPY RESOURCES ################# -- cgit v1.2.3