mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 07:09:15 +01:00
cmake: Fix target name
The executable target run by ctest is `mptest`. This change removes unnecessary steps when building the `codegen` target.
This commit is contained in:
@@ -27,7 +27,7 @@ function(add_libmultiprocess subdir)
|
||||
mark_as_advanced(CapnProto_kj-tls_IMPORTED_LOCATION)
|
||||
if(BUILD_TESTS)
|
||||
# Add tests to "all" target so ctest can run them
|
||||
set_target_properties(mptests PROPERTIES EXCLUDE_FROM_ALL OFF)
|
||||
set_target_properties(mptest PROPERTIES EXCLUDE_FROM_ALL OFF)
|
||||
endif()
|
||||
# Exclude examples from compilation database, because the examples are not
|
||||
# built by default, and they contain generated c++ code. Without this
|
||||
|
||||
Reference in New Issue
Block a user