mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-29 21:30:58 +02:00
build: simplify dependency graph
Allow the objects of static libs to be built in parallel rather than serially based on their dependency ordering. For more detail, see: https://cmake.org/cmake/help/latest/prop_tgt/OPTIMIZE_DEPENDENCIES.html
This commit is contained in:
@@ -74,6 +74,9 @@ add_library(minisketch STATIC EXCLUDE_FROM_ALL
|
||||
${PROJECT_SOURCE_DIR}/src/minisketch/src/fields/generic_8bytes.cpp
|
||||
)
|
||||
|
||||
# Workaround for https://gitlab.kitware.com/cmake/cmake/-/issues/24058
|
||||
set_target_properties(minisketch PROPERTIES OPTIMIZE_DEPENDENCIES OFF)
|
||||
|
||||
target_include_directories(minisketch
|
||||
PUBLIC
|
||||
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/src/minisketch/include>
|
||||
|
Reference in New Issue
Block a user