From c31166ac77af8fbdc9012999b345540fe88cc394 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Wed, 22 Jan 2025 17:33:57 +0000 Subject: [PATCH] cmake: Fail if `Libmultiprocess` is missing when `WITH_MULTIPROCESS=ON` --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e7fa35b9ec..e542e217c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -143,8 +143,8 @@ cmake_dependent_option(WITH_DBUS "Enable DBus support." ON "CMAKE_SYSTEM_NAME ST option(WITH_MULTIPROCESS "Build multiprocess bitcoin-node and bitcoin-gui executables in addition to monolithic bitcoind and bitcoin-qt executables. Requires libmultiprocess library. Experimental." OFF) if(WITH_MULTIPROCESS) - find_package(Libmultiprocess COMPONENTS Lib) - find_package(LibmultiprocessNative COMPONENTS Bin + find_package(Libmultiprocess REQUIRED COMPONENTS Lib) + find_package(LibmultiprocessNative REQUIRED COMPONENTS Bin NAMES Libmultiprocess ) endif()