diff --git a/CMakeLists.txt b/CMakeLists.txt index 90d3fb50ba..e49dcf6302 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -243,7 +243,10 @@ endfunction() if(WITH_JAEGER) find_package(Thrift QUIET) - if(NOT Thrift_FOUND) + if(Thrift_FOUND) + find_package(Boost REQUIRED) + include_directories(${Boost_INCLUDE_DIR}) + else() # Install Thrift and propagate via vcpkg toolchain file if(WIN32 AND (NOT DEFINED CMAKE_TOOLCHAIN_FILE)) install_windows_deps()