Skip to content

Commit e2ea986

Browse files
committed
Fix iwyu failure by disabling the unneeded MockTracer build from OpenTracing
1 parent 396f1b5 commit e2ea986

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmake/opentracing-cpp.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ if(NOT OpenTracing_FOUND)
2727
set(_SAVED_BUILD_TESTING ${BUILD_TESTING})
2828
endif()
2929

30+
# Set the cache variables for the opentracing build
3031
set(BUILD_TESTING OFF CACHE BOOL "" FORCE)
32+
set(BUILD_MOCKTRACER OFF CACHE BOOL "" FORCE)
33+
3134
FetchContent_MakeAvailable(opentracing)
3235

3336
# Restore the saved state of BUILD_TESTING

0 commit comments

Comments
 (0)