pineapple-src/externals/vcpkg/ports/lua/usage

6 lines
252 B
Text
Raw Normal View History

2022-07-23 03:01:36 +02:00
Use this package via the module FindLua that comes with CMake. To use in your CMakeLists.txt:
find_package(Lua REQUIRED)
target_include_directories(main PRIVATE ${LUA_INCLUDE_DIR})
target_link_libraries(main PRIVATE ${LUA_LIBRARIES})