From 1dfb5d9d2fa2cf03d4c5272146d90fa09e764c46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jack=C2=B7Boos=C2=B7Yu?= <47264268+JackBoosY@users.noreply.github.com> Date: Thu, 12 Aug 2021 08:27:43 +0800 Subject: [lua] Export cmake targets, rewrite CMakeLists and delete usage (#15921) --- ports/lua/usage | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'ports/lua/usage') 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}) -- cgit v1.2.3