mirror of
https://github.com/ceph/ceph
synced 2025-04-01 23:02:17 +00:00
cmake: check libaio on linux before building SPDK
SPDK requires libaio on linux. Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
57e792bcae
commit
a11ab928f7
@ -4,6 +4,9 @@ macro(build_spdk)
|
||||
build_dpdk()
|
||||
endif()
|
||||
find_package(CUnit REQUIRED)
|
||||
if(LINUX)
|
||||
find_package(aio REQUIRED)
|
||||
endif()
|
||||
include(ExternalProject)
|
||||
ExternalProject_Add(spdk-ext
|
||||
DEPENDS dpdk-ext
|
||||
|
Loading…
Reference in New Issue
Block a user