aboutsummaryrefslogtreecommitdiff
path: root/ports/lua/usage
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2021-08-12 08:27:43 +0800
committerGitHub <noreply@github.com>2021-08-11 17:27:43 -0700
commit1dfb5d9d2fa2cf03d4c5272146d90fa09e764c46 (patch)
tree181b1c313aca48aadde19004fa980588d7824c4f /ports/lua/usage
parent32950ca774a0c2f90c2105b65b594db53d0b40a7 (diff)
downloadvcpkg-1dfb5d9d2fa2cf03d4c5272146d90fa09e764c46.tar.gz
vcpkg-1dfb5d9d2fa2cf03d4c5272146d90fa09e764c46.zip
[lua] Export cmake targets, rewrite CMakeLists and delete usage (#15921)
Diffstat (limited to 'ports/lua/usage')
-rw-r--r--ports/lua/usage6
1 files changed, 1 insertions, 5 deletions
diff --git a/ports/lua/usage b/ports/lua/usage
index e27f6392d..01aa81ed3 100644
--- a/ports/lua/usage
+++ b/ports/lua/usage
@@ -1,9 +1,5 @@
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
+ target_link_libraries(main PRIVATE ${LUA_LIBRARIES})