mirror of
https://github.com/ceph/ceph
synced 2025-02-20 17:37:29 +00:00
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>
This commit is contained in:
parent
d275875b0e
commit
7471fbfa4b
@ -584,7 +584,7 @@ endif(${WITH_LTTNG})
|
||||
|
||||
add_subdirectory(global)
|
||||
|
||||
if(NOT WIN32)
|
||||
if(WITH_CEPHFS)
|
||||
find_package(Lua 5.3 REQUIRED)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user