mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-24 23:41:10 +02:00
cmake: Fail if Libmultiprocess
is missing when WITH_MULTIPROCESS=ON
This commit is contained in:
@@ -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)
|
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)
|
if(WITH_MULTIPROCESS)
|
||||||
find_package(Libmultiprocess COMPONENTS Lib)
|
find_package(Libmultiprocess REQUIRED COMPONENTS Lib)
|
||||||
find_package(LibmultiprocessNative COMPONENTS Bin
|
find_package(LibmultiprocessNative REQUIRED COMPONENTS Bin
|
||||||
NAMES Libmultiprocess
|
NAMES Libmultiprocess
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
Reference in New Issue
Block a user