mirror of
https://github.com/ceph/ceph
synced 2025-01-20 01:51:34 +00:00
cmake: add transitive dependency on legacy-option-headers
the legacy-option-headers target is only marked as a dependency of the common-objs and common-common-objs. because those targets are OBJECT libraries, their dependencies aren't inherited by the targets that link common-objs or common-common-objs this adds the dependencies manually, so that changes to the config yaml files will cause legacy-option-headers to regenerate the headers Signed-off-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
parent
6ffbe0b784
commit
cae189a504
@ -548,9 +548,11 @@ endif()
|
||||
|
||||
add_library(common STATIC ${ceph_common_objs})
|
||||
target_link_libraries(common ${ceph_common_deps})
|
||||
add_dependencies(common legacy-option-headers)
|
||||
|
||||
add_library(ceph-common SHARED ${ceph_common_objs})
|
||||
target_link_libraries(ceph-common ${ceph_common_deps})
|
||||
add_dependencies(ceph-common legacy-option-headers)
|
||||
# appease dpkg-shlibdeps
|
||||
set_target_properties(ceph-common PROPERTIES
|
||||
SOVERSION 2
|
||||
|
Loading…
Reference in New Issue
Block a user