aboutsummaryrefslogtreecommitdiff
path: root/ports/lua/usage
diff options
context:
space:
mode:
authorpaul-reilly <paul-reilly@users.noreply.github.com>2020-02-06 19:07:19 +0000
committerGitHub <noreply@github.com>2020-02-06 11:07:19 -0800
commitaaddcb1afb3b2db595ba9d6cab5ddf0e9450a7c2 (patch)
tree247b70a973c5b9a13bf93c47772e73118b846887 /ports/lua/usage
parent6f2fba24dc5ceb339464e205eb8e7b2afcc31efa (diff)
downloadvcpkg-aaddcb1afb3b2db595ba9d6cab5ddf0e9450a7c2.tar.gz
vcpkg-aaddcb1afb3b2db595ba9d6cab5ddf0e9450a7c2.zip
Add post-build usage info for Lua port. (#9934)
* Add post-build usage info for Lua port. * Fix CMake command that moves info file * Update Lua package version number
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