Skip to content

Commit c31166a

Browse files
committed
cmake: Fail if Libmultiprocess is missing when WITH_MULTIPROCESS=ON
1 parent 5d6f6fd commit c31166a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ cmake_dependent_option(WITH_DBUS "Enable DBus support." ON "CMAKE_SYSTEM_NAME ST
143143

144144
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)
145145
if(WITH_MULTIPROCESS)
146-
find_package(Libmultiprocess COMPONENTS Lib)
147-
find_package(LibmultiprocessNative COMPONENTS Bin
146+
find_package(Libmultiprocess REQUIRED COMPONENTS Lib)
147+
find_package(LibmultiprocessNative REQUIRED COMPONENTS Bin
148148
NAMES Libmultiprocess
149149
)
150150
endif()

0 commit comments

Comments
 (0)