mcst-linux-kernel/patches-2024.06.26/lsyncd-2.2.1/0001-add-lua5.1-to-possible...

15 lines
605 B
Diff

Subject: add 5.1 in possible lua versions.
Tag: common
diff -Naur old/cmake/FindLua.cmake new/cmake/FindLua.cmake
--- old/cmake/FindLua.cmake 2021-06-10 09:46:13.125796010 +0000
+++ new/cmake/FindLua.cmake 2021-06-10 09:48:55.784866204 +0000
@@ -36,7 +36,7 @@
#SET(_POSSIBLE_LUA_LIBRARY lua)
# Determine possible naming suffixes (there is no standard for this)
-SET(_POSSIBLE_SUFFIXES "52" "5.2" "-5.2" "53" "5.3" "-5.3" "")
+SET(_POSSIBLE_SUFFIXES "51" "5.1" "-5.1" "52" "5.2" "-5.2" "53" "5.3" "-5.3" "")
# Set up possible search names and locations
FOREACH(_SUFFIX IN LISTS _POSSIBLE_SUFFIXES)