Skip to content

Commit

Permalink
Merge pull request ceph#57583 from tchaikov/cmake-legacy-headers
Browse files Browse the repository at this point in the history
cmake: link rados_snap_set_diff_obj and krbd against legacy-option-headers

Reviewed-by: Casey Bodley <[email protected]>
  • Loading branch information
tchaikov authored May 21, 2024
2 parents acdd6bc + d66dabf commit d63855c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,8 @@ add_subdirectory(osdc)
add_subdirectory(perfglue)

add_library(rados_snap_set_diff_obj OBJECT librados/snap_set_diff.cc)
target_link_libraries(rados_snap_set_diff_obj
PRIVATE legacy-option-headers)

option(WITH_LIBRADOSSTRIPER "build with libradosstriper support" ON)

Expand Down Expand Up @@ -877,7 +879,9 @@ if(WITH_RBD)
if(WITH_KRBD)
add_library(krbd STATIC krbd.cc
$<TARGET_OBJECTS:parse_secret_objs>)
target_link_libraries(krbd keyutils::keyutils)
target_link_libraries(krbd
keyutils::keyutils
legacy-option-headers)
endif()
add_subdirectory(librbd)
if(WITH_FUSE)
Expand Down

0 comments on commit d63855c

Please sign in to comment.