mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-06 14:19:59 -05:00
Merge bitcoin/bitcoin#31709: cmake: Fail if Libmultiprocess
is missing when WITH_MULTIPROCESS=ON
c31166ac77
cmake: Fail if `Libmultiprocess` is missing when `WITH_MULTIPROCESS=ON` (Hennadii Stepanov) Pull request description: Fixes https://github.com/bitcoin/bitcoin/issues/31708: ``` $ cmake -B build -DWITH_MULTIPROCESS=ON -- The CXX compiler identification is GNU 13.3.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found SQLite3: /usr/include (found suitable version "3.45.1", minimum required is "3.7.17") CMake Error at CMakeLists.txt:146 (find_package): By not providing "FindLibmultiprocess.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Libmultiprocess", but CMake did not find one. Could not find a package configuration file provided by "Libmultiprocess" with any of the following names: LibmultiprocessConfig.cmake libmultiprocess-config.cmake Add the installation prefix of "Libmultiprocess" to CMAKE_PREFIX_PATH or set "Libmultiprocess_DIR" to a directory containing one of the above files. If "Libmultiprocess" provides a separate development package or SDK, be sure it has been installed. -- Configuring incomplete, errors occurred! ``` ACKs for top commit: vasild: ACKc31166ac77
ryanofsky: Code review ACKc31166ac77
TheCharlatan: ACKc31166ac77
Tree-SHA512: 503e6d7ff253c9ae95b13ff0649af7db97c74a97c04ca6fe88130defae251b94bfe9f4466300d3fab16397c7c8346b392a80a7b80a2d6517464a4eabe3aa40db
This commit is contained in:
commit
449a25b958
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)
|
||||
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()
|
||||
|
|
Loading…
Add table
Reference in a new issue