From f1cbe5682d04af7d4712bc5d19b513f150d76b7a Mon Sep 17 00:00:00 2001 From: Deepika Upadhyay Date: Fri, 28 Jan 2022 20:28:50 +0530 Subject: [PATCH] cmake: add boost as a required package Signed-off-by: Deepika Upadhyay --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c2b0dcb608..b4aef9dbee 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -239,7 +239,9 @@ endfunction() if(WITH_JAEGER) find_package(Thrift QUIET) - if(NOT Thrift_FOUND) + if(Thrift_FOUND) + find_package(Boost REQUIRED) + else() # Install Thrift and propagate via vcpkg toolchain file if(WIN32 AND (NOT DEFINED CMAKE_TOOLCHAIN_FILE)) install_windows_deps()