diff --git a/cmake/module/Maintenance.cmake b/cmake/module/Maintenance.cmake index c2cf2f6a9455d..16af921a7a4d7 100644 --- a/cmake/module/Maintenance.cmake +++ b/cmake/module/Maintenance.cmake @@ -146,7 +146,8 @@ function(add_macos_deploy_target) add_custom_target(deploy DEPENDS ${PROJECT_BINARY_DIR}/dist/${osx_volname}.zip ) - add_dependencies(deploy deploydir) endif() + add_dependencies(deploydir bitcoin-qt) + add_dependencies(deploy deploydir) endif() endfunction() diff --git a/src/qt/test/CMakeLists.txt b/src/qt/test/CMakeLists.txt index 72253f8f2f257..582ed7146639d 100644 --- a/src/qt/test/CMakeLists.txt +++ b/src/qt/test/CMakeLists.txt @@ -53,5 +53,4 @@ endif() install(TARGETS test_bitcoin-qt RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - COMPONENT GUI )