Skip to content

Commit

Permalink
fixup! cmake: Add Maintenance module
Browse files Browse the repository at this point in the history
Maintain build-time dependencies for the `check-symbols` and
`check-security` targets.
  • Loading branch information
hebasto committed Aug 16, 2024
1 parent 71384da commit 48e235b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmake/module/Maintenance.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ function(add_maintenance_targets)

foreach(target IN ITEMS bitcoind bitcoin-qt bitcoin-cli bitcoin-tx bitcoin-util bitcoin-wallet test_bitcoin bench_bitcoin)
if(TARGET ${target})
# Not using the TARGET_FILE generator expression because it creates excessive
# target-level dependencies in the following custom targets.
list(APPEND executables $<TARGET_FILE_DIR:${target}>/$<TARGET_FILE_NAME:${target}>)
list(APPEND executables $<TARGET_FILE:${target}>)
endif()
endforeach()

Expand Down

0 comments on commit 48e235b

Please sign in to comment.