mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-06 03:02:37 +02:00
cmake: add and use install_binary_component
Add a separate component for each binary for fine-grained installation options. Also install the man pages for only for the targets enabled.
This commit is contained in:
@@ -81,6 +81,4 @@ add_test(NAME bench_sanity_check_high_priority
|
||||
COMMAND bench_bitcoin -sanity-check -priority-level=high
|
||||
)
|
||||
|
||||
install(TARGETS bench_bitcoin
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
install_binary_component(bench_bitcoin)
|
||||
|
||||
Reference in New Issue
Block a user