Use UPDATE_DISCONNECTED mode for libbacktrace. (#19958)
Without this, the way our build works causes it to get updated and rebuilt (and thus trigger relinking of multiple parts of the agent) when `cmake --install` is called, which in turn makes installs take much longer.
Austin S. Hemmelgarn committed
Mar 25, 2025 at 00:39 UTC
0b9cc4db3377fb28d163e4e297057b9174659611
1 file changed
+1
packaging/cmake/Modules/NetdataBacktrace.cmake
+1
@@ -26,6 +26,7 @@ function(netdata_bundle_libbacktrace)
26
INSTALL_COMMAND ""
27
BUILD_BYPRODUCTS "${libbacktrace_LIBRARY}"
28
EXCLUDE_FROM_ALL 1
29
+ UPDATE_DISCONNECTED ON
30
)
31
32
# Create an imported library target