diff --git a/src/Lib/Lua.hh b/src/Lib/Lua.hh new file mode 100644 index 0000000000000000000000000000000000000000..f11f3d5afc03be55e596087bd6668ff6e04069e8 --- /dev/null +++ b/src/Lib/Lua.hh @@ -0,0 +1,3 @@ +#pragma once + +#include "lua.hpp" diff --git a/src/Main.cc b/src/Main.cc index 1fcc24a12a4beb33e5f79e3135b0eeb6894b3ebb..eeff58066d67dfe226bfb2ebfe39091839b8c04d 100644 --- a/src/Main.cc +++ b/src/Main.cc @@ -1,4 +1,5 @@ #include "VivyApplication.hh" +#include "Lib/Lua.hh" // For debug purpose int main(int argc, char **argv) noexcept diff --git a/vendor/lua-5.4.3/CMakeLists.txt b/vendor/lua-5.4.3/CMakeLists.txt index a3e92b845fd4776756eb13b86ffd44575819a292..fd82d56d6187183565007f071c9eeb251d79e202 100644 --- a/vendor/lua-5.4.3/CMakeLists.txt +++ b/vendor/lua-5.4.3/CMakeLists.txt @@ -9,3 +9,4 @@ file(GLOB Lua_SRC "${CMAKE_CURRENT_SOURCE_DIR}/src/*.c") list(REMOVE_ITEM Lua_SRC "src/lua.c" "src/luac.c") add_library(lua STATIC ${Lua_SRC}) +target_include_directories(lua PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/src/")