From d93880880dad2cdbdc9abed1a51edf5264068ff1 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sat, 31 Jul 2021 17:01:38 +0800 Subject: [PATCH] cmake: let crimson-admin depend on legacy-option-headers legacy-option-headers provides global_legacy_options.h, which is in turn required for building crimson-admin. Signed-off-by: Kefu Chai --- src/crimson/admin/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/crimson/admin/CMakeLists.txt b/src/crimson/admin/CMakeLists.txt index aa07717351010..36a5ae2a99ddc 100644 --- a/src/crimson/admin/CMakeLists.txt +++ b/src/crimson/admin/CMakeLists.txt @@ -2,7 +2,8 @@ add_library(crimson-admin STATIC admin_socket.cc osd_admin.cc pg_commands.cc) - target_link_libraries(crimson-admin crimson::cflags Boost::MPL) +add_dependencies(crimson-admin + legacy-option-headers) -- 2.39.5