RGW linkage with Lua was broken by the following commit:
commit
7471fbfa4bf015c972c0e577da2a1ee87f62adfd
Author: Kefu Chai <kchai@redhat.com>
Date: Mon Apr 26 22:44:16 2021 +0800
cmake: require lua if WITH_CEPHFS is enabled
in src/mds/Mantle.cc, the lua C binding APIs are used, so we should only
require lua if WITH_CEPHFS is enabled.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
add_subdirectory(global)
-if(WITH_CEPHFS)
+# RGW also support Lua scripting
+if(WITH_CEPHFS OR WITH_RADOSGW)
find_package(Lua 5.3 REQUIRED)
endif()