]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cmake: always require thrift v0.13.0 if WITH_JAEGER
authorDeepika Upadhyay <dupadhya@redhat.com>
Thu, 22 Jul 2021 16:06:35 +0000 (21:36 +0530)
committerDeepika Upadhyay <dupadhya@redhat.com>
Thu, 22 Jul 2021 16:07:33 +0000 (21:37 +0530)
* without this the build shall continue and eventually fail
as thrift is a required dependency for jaeger

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
src/CMakeLists.txt

index eb957cdcf63451a11dd0e5d83c54425c1988906b..9b6d06179fc45c26c605848ea349700b88a472e9 100644 (file)
@@ -427,7 +427,7 @@ add_library(common-objs OBJECT ${libcommon_files})
 add_dependencies(common-objs legacy-option-headers)
 
 if(WITH_JAEGER)
-  find_package(thrift 0.13.0)
+  find_package(thrift 0.13.0 REQUIRED)
   find_package(yaml-cpp 0.6.0 REQUIRED)
   include(BuildJaeger)
   list(APPEND jaeger_base