diff --git a/CMakeLists.txt b/CMakeLists.txt index a01b9f0d51c876..8591967aa3b292 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -404,7 +404,7 @@ endif() include(AddBoostIfNeeded) add_boost_if_needed() -if(BUILD_DAEMON OR BUILD_GUI OR BUILD_CLI OR BUILD_TESTS OR BUILD_BENCH OR BUILD_FUZZ_BINARY) +if(BUILD_DAEMON OR BUILD_GUI OR BUILD_CLI OR BUILD_TESTS OR BUILD_BENCH OR BUILD_FUZZ_BINARY OR WITH_MULTIPROCESS) find_package(Libevent 2.1.8 MODULE REQUIRED) endif()