aboutsummaryrefslogtreecommitdiff
path: root/ports/lua/usage
diff options
context:
space:
mode:
Diffstat (limited to 'ports/lua/usage')
-rw-r--r--ports/lua/usage9
1 files changed, 9 insertions, 0 deletions
diff --git a/ports/lua/usage b/ports/lua/usage
new file mode 100644
index 000000000..8a11e20b9
--- /dev/null
+++ b/ports/lua/usage
@@ -0,0 +1,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 \ No newline at end of file