vcpkg/ports/lua/usage

6 lines
252 B
Plaintext

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})