File tree Expand file tree Collapse file tree 5 files changed +7
-4
lines changed
Expand file tree Collapse file tree 5 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ if(HAVE_QATZIP AND HAVE_QAT)
88 QAT::qat
99 QAT::usdm
1010 QAT::zip
11+ legacy-option-headers
1112 )
1213endif ()
1314
Original file line number Diff line number Diff line change @@ -9,3 +9,4 @@ set(crush_srcs
99 CrushLocation.cc)
1010
1111add_library (crush_objs OBJECT ${crush_srcs} )
12+ target_link_libraries (crush_objs PUBLIC legacy-option-headers)
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ set(jerasure_utils_src
55 ErasureCodeJerasure.cc)
66
77add_library (jerasure_utils OBJECT ${jerasure_utils_src} )
8+ target_link_libraries (jerasure_utils legacy-option-headers)
89
910# Set the CFLAGS correctly for gf-complete based on SIMD compiler support
1011set (GF_COMPILE_FLAGS)
Original file line number Diff line number Diff line change 11add_library (mgr_cap_obj OBJECT
22 MgrCap.cc)
3+ target_link_libraries (mgr_cap_obj legacy-option-headers)
34
45if (WITH_MGR)
56 set (mgr_srcs
Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ install(TARGETS ceph_perf_objectstore
66
77add_library (store_test_fixture OBJECT store_test_fixture.cc)
88target_include_directories (store_test_fixture PRIVATE
9- $<TARGET_PROPERTY:GTest::GTest,INTERFACE_INCLUDE_DIRECTORIES >)
9+ $<TARGET_PROPERTY:GTest::GTest,INTERFACE_INCLUDE_DIRECTORIES >
10+ legacy-option-headers)
1011
1112add_executable (ceph_test_objectstore
1213 store_test.cc
@@ -140,11 +141,9 @@ if(WITH_BLUESTORE)
140141endif ()
141142
142143# fragmentation simulator
143- add_library (ObjectStoreImitator OBJECT ObjectStoreImitator.cc)
144-
145144add_executable (ceph_test_fragmentation_sim
146145 Fragmentation_simulator.cc
147- $<TARGET_OBJECTS: ObjectStoreImitator> )
146+ ObjectStoreImitator.cc )
148147add_ceph_unittest(ceph_test_fragmentation_sim)
149148target_link_libraries (ceph_test_fragmentation_sim os global )
150149
You can’t perform that action at this time.
0 commit comments