mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-07-05 11:40:07 +02:00
Merge bitcoin/bitcoin#35523: Revert "build: exclude mptest target from compile commands"
d186c390f4Revert "build: exclude mptest target from compile commands" (fanquake) Pull request description: This reverts commit4731049ba4(#35418), which broke the build with `-DBUILD_TESTS=OFF`: ```bash -- Performing Test HAVE_PTHREAD_GETTHREADID_NP - Failed CMake Error at cmake/libmultiprocess.cmake:37 (set_target_properties): set_target_properties Can not find target to add properties to: mptest Call Stack (most recent call first): src/CMakeLists.txt:24 (add_libmultiprocess) ``` Reported by `afiore` on IRC. ACKs for top commit: winterrdog: tested ACKd186c390f4hebasto: ACKd186c390f4, tested on Fedora 44. Tree-SHA512: ec1ede0340da9d1338643980e7f2e4646f0aed2e64f339f8b41a447cbbfb4da8158c1cbcb22f2d0cc383c2dd945075602d02b07a47b33b44cc6215f3292c1d46
This commit is contained in:
@@ -34,5 +34,5 @@ function(add_libmultiprocess subdir)
|
||||
# exclusion, tools like clang-tidy and IWYU that make use of compilation
|
||||
# database would complain that the generated c++ source files do not exist. An
|
||||
# alternate fix could build "mpexamples" by default like "mptests" above.
|
||||
set_target_properties(mpcalculator mpprinter mpexample mptest PROPERTIES EXPORT_COMPILE_COMMANDS OFF)
|
||||
set_target_properties(mpcalculator mpprinter mpexample PROPERTIES EXPORT_COMPILE_COMMANDS OFF)
|
||||
endfunction()
|
||||
|
||||
Reference in New Issue
Block a user