cmake: Add systemtap-sdt optional package support

This commit is contained in:
Hennadii Stepanov committed 2024-08-16 19:27:41 +01:00
1 parent d2fda82b49
commit 353e0c9e96
5 files changed
+77

No files matched your search

+6
View File
@@ -133,6 +133,11 @@ if(WITH_ZMQ)
endif()
endif()
option(WITH_USDT "Enable tracepoints for Userspace, Statically Defined Tracing." OFF)
if(WITH_USDT)
find_package(USDT MODULE REQUIRED)
endif()
set(configure_warnings)
include(CheckPIESupported)
@@ -309,6 +314,7 @@ message(" port mapping:")
message(" - using NAT-PMP .................... ${WITH_NATPMP}")
message(" - using UPnP ....................... ${WITH_MINIUPNPC}")
message(" ZeroMQ .............................. ${WITH_ZMQ}")
message(" USDT tracing ........................ ${WITH_USDT}")
message("Tests:")
message(" test_bitcoin ........................ ${BUILD_TESTS}")
message("")