]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
debian/control: use yaml-dev >= 0.6
authorDeepika Upadhyay <dupadhya@redhat.com>
Mon, 30 Nov 2020 11:10:46 +0000 (11:10 +0000)
committerDeepika Upadhyay <dupadhya@redhat.com>
Fri, 11 Dec 2020 10:08:09 +0000 (10:08 +0000)
Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
debian/control
src/CMakeLists.txt

index f9e1d502f104416817a9abac0fe6f50ee8f124c7..50e2f665adfb356e1877f1eaa5b1688ae0b11ecc 100644 (file)
@@ -62,7 +62,6 @@ Build-Depends: automake,
                libudev-dev,
                libnl-genl-3-dev,
                libxml2-dev,
-               libyaml-cpp-dev,
                librabbitmq-dev,
                librdkafka-dev,
 # Make-Check   libxmlsec1,
@@ -104,6 +103,7 @@ Build-Depends: automake,
 # Make-Check   xmlstarlet,
                nasm [amd64],
                zlib1g-dev,
+Built-Using:   libyaml-cpp-dev (>= 0.6),
 Standards-Version: 4.4.0
 
 Package: ceph
index dd2312cfe964081a653f62c1634a64fe8588733a..ef8a5f206107e39aa71e995d5bc3e114c0df8d17 100644 (file)
@@ -393,7 +393,9 @@ add_library(common-objs OBJECT ${libcommon_files})
 if(WITH_JAEGER)
   find_package(yaml-cpp 0.6.0)
   if(NOT yaml-cpp_FOUND)
-    set(jaeger_libs ${CMAKE_BINARY_DIR}/external/lib/libyaml-cpp.so.0.6.2)
+    set(jaeger_libs ${CMAKE_BINARY_DIR}/external/lib/libyaml-cpp.so
+                   ${CMAKE_BINARY_DIR}/external/lib/libyaml-cpp.so.0.6
+                   ${CMAKE_BINARY_DIR}/external/lib/libyaml-cpp.so.0.6.2)
     execute_process(COMMAND bash -c "grep -q 'yaml-cpp' debian/libjaeger.install || echo 'usr/lib/libyaml-cpp.so.*' >> debian/libjaeger.install"
                    WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
   endif()