diff --git a/cmake/module/Maintenance.cmake b/cmake/module/Maintenance.cmake index 16af921a7a4d7..2c6cfc1863c28 100644 --- a/cmake/module/Maintenance.cmake +++ b/cmake/module/Maintenance.cmake @@ -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 $/$) + list(APPEND executables $) endif() endforeach()