mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 23:07:59 +01:00
cmake: Fail if Libmultiprocess
is missing when WITH_MULTIPROCESS=ON
This commit is contained in:
parent
5d6f6fd00d
commit
c31166ac77
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Reference in a new issue