Skip to content

Commit

Permalink
debug it 02
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Sep 21, 2024
1 parent dad9121 commit b92ba34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,15 @@ 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)
set(CMAKE_FIND_DEBUG_MODE TRUE)
message("===== ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} =====")
find_package(Libmultiprocess COMPONENTS Lib)
message("===== ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} =====")
find_package(LibmultiprocessNative COMPONENTS Bin
NAMES Libmultiprocess
)
message("===== ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} =====")
set(CMAKE_FIND_DEBUG_MODE FALSE)
endif()

cmake_dependent_option(BUILD_GUI_TESTS "Build test_bitcoin-qt executable." ON "BUILD_GUI;BUILD_TESTS" OFF)
Expand Down
2 changes: 1 addition & 1 deletion depends/toolchain.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ endif()

if("@multiprocess@" STREQUAL "1")
set(WITH_MULTIPROCESS ON CACHE BOOL "")
set(LibmultiprocessNative_DIR "${CMAKE_FIND_ROOT_PATH}/native/lib/cmake/Libmultiprocess" CACHE PATH "")
set(LibmultiprocessNative_ROOT "${CMAKE_FIND_ROOT_PATH}/native" CACHE PATH "")
else()
set(WITH_MULTIPROCESS OFF CACHE BOOL "")
endif()

0 comments on commit b92ba34

Please sign in to comment.