mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
libuwsc: update to 3.3.1
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
Index: libuwsc-3.3.1/cmake/Modules/FindLua.cmake
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ libuwsc-3.3.1/cmake/Modules/FindLua.cmake
|
||||
@@ -0,0 +1,18 @@
|
||||
+# - Try to find lua
|
||||
+# Once done this will define
|
||||
+# LUA_FOUND - System has lua
|
||||
+# LUA_INCLUDE_DIR - The lua include directories
|
||||
+# LUA_LIBRARY - The libraries needed to use lua
|
||||
+
|
||||
+find_path(LUA_INCLUDE_DIR lua.h)
|
||||
+find_library(LUA_LIBRARY lua)
|
||||
+
|
||||
+include(FindPackageHandleStandardArgs)
|
||||
+# handle the QUIETLY and REQUIRED arguments and set LUA_FOUND to TRUE
|
||||
+# if all listed variables are TRUE and the requested version matches.
|
||||
+find_package_handle_standard_args(Lua REQUIRED_VARS
|
||||
+ LUA_LIBRARY LUA_INCLUDE_DIR
|
||||
+ VERSION_VAR LUA_VERSION)
|
||||
+
|
||||
+mark_as_advanced(LUA_INCLUDE_DIR LUA_LIBRARY)
|
||||
+
|
||||
Reference in New Issue
Block a user