Skip to content

Commit a8465ef

Browse files
committed
cls/CMakeLists.txt: find_package Lua for cls_lua
src/CMakeLists.txt does do find_package for Lua: if(WITH_CEPHFS OR WITH_RADOSGW) find_package(Lua 5.3 REQUIRED) endif() but only if WITH_CEPHFS or WITH_RADOSGW. Seperately require it in cls/CMakeLists.txt for cls_lua. Fixes: https://tracker.ceph.com/issues/71512 Signed-off-by: Samuel Just <[email protected]>
1 parent c71d7ee commit a8465ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cls/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ endif (WITH_CEPHFS)
242242

243243
if (NOT WIN32)
244244
# cls_lua
245+
find_package(Lua 5.3 REQUIRED)
245246
set(cls_lua_srcs
246247
lua/cls_lua.cc
247248
lua/lua_bufferlist.cc)

0 commit comments

Comments
 (0)