Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
include_directories(SYSTEM src/blkin/blkin-lib)
endif(WITH_BLKIN)
-option(WITH_JAEGER "Enable jaegertracing and it's dependent libraries" ON)
+option(WITH_JAEGER "Enable jaegertracing and it's dependent libraries" OFF)
if(WITH_JAEGER)
set(HAVE_JAEGER TRUE)
endif()
%endif
%endif
%bcond_with seastar
-%bcond_without jaeger
+%bcond_with jaeger
%if 0%{?fedora} || 0%{?suse_version} >= 1500
# distros that ship cmd2 and/or colorama
%bcond_without cephfs_shell
-usr/lib/libopentracing.so.*
-usr/lib/libjaegertracing.so.*
-usr/lib/libthrift.so.*
+#usr/lib/libopentracing.so.*
+#usr/lib/libjaegertracing.so.*
+#usr/lib/libthrift.so.*
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)
+ #customize libjaeger.install
+ execute_process(COMMAND bash -c "sed -i 's/#//' debian/libjaeger.install"
+ WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
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()