depend on probes only when WITH_DTRACE is on
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0b9429b..dc0c4eb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -145,7 +145,9 @@
t/fusion.c)
TARGET_LINK_LIBRARIES(test-fusion.t picotls-minicrypto)
SET_TARGET_PROPERTIES(test-fusion.t PROPERTIES COMPILE_FLAGS "-mavx2 -maes -mpclmul")
- ADD_DEPENDENCIES(test-fusion.t generate-picotls-probes)
+ IF (WITH_DTRACE)
+ ADD_DEPENDENCIES(test-fusion.t generate-picotls-probes)
+ ENDIF ()
SET(TEST_EXES ${TEST_EXES} test-fusion.t)
ENDIF ()