Skip to content

Commit 13329a3

Browse files
committed
CMakeLists.txt:WITH_USDT
1 parent af5e6b4 commit 13329a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,12 @@ if(WITH_ZMQ)
134134
endif()
135135
endif()
136136

137+
if(UNIX AND NOT APPLE)
137138
option(WITH_USDT "Enable tracepoints for Userspace, Statically Defined Tracing." OFF)
138139
if(WITH_USDT)
139140
find_package(USDT MODULE REQUIRED)
140141
endif()
142+
endif()
141143

142144
cmake_dependent_option(ENABLE_EXTERNAL_SIGNER "Enable external signer support." ON "NOT WIN32" OFF)
143145

0 commit comments

Comments
 (0)