aboutsummaryrefslogtreecommitdiff
path: root/ports/lua/usage
blob: 8a11e20b94a86a19e13392ef8a93f4fa64ac9a3b (plain)
1
2
3
4
5
6
7
8
9
Use this package via the module FindLua that comes with CMake. To use in your CMakeLists.txt:

    include(FindLua)
    find_package(lua REQUIRED)
    target_link_libraries(main PRIVATE ${LUA_LIBRARIES})
    target_include_directories(main PRIVATE ${LUA_INCLUDE_DIR})

For more information about the variables set by this module, please see:
    https://cmake.org/cmake/help/latest/module/FindLua.html