CMakeLists.txt: Move WITH_CRIMON before setting WITH_LIBURING

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
This commit is contained in:
Matan Breizman 2026-02-02 16:41:25 +02:00
parent 71f04ea0b9
commit 7240a99fe1

View File

@ -254,6 +254,8 @@ if(WITH_BLUESTORE)
endif()
endif()
option(WITH_CRIMSON "Build Crimson components" OFF)
# libcryptsetup is only available on linux
if(WITH_RBD AND LINUX)
find_package(libcryptsetup 2.0.5 REQUIRED)
@ -738,8 +740,6 @@ if (WITH_SYSTEM_ROCKSDB)
find_package(RocksDB 5.14 REQUIRED)
endif()
option(WITH_CRIMSON "Build Crimson components" OFF)
# Boost
option(WITH_SYSTEM_BOOST "require and build with system Boost" OFF)