diff options
Diffstat (limited to '')
-rw-r--r-- | cmake/OpenTracingConfig.cmake | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cmake/OpenTracingConfig.cmake b/cmake/OpenTracingConfig.cmake new file mode 100644 index 0000000..e8f5939 --- /dev/null +++ b/cmake/OpenTracingConfig.cmake @@ -0,0 +1,12 @@ +# - Locate the opentracing headers and libraries +# Usage: +# find_package(OpenTracing) +# find_package(OpenTracing 0.1.0) # To specify a minimum version +# This will create the targets: +# OpenTracing::opentracing # dynamic library +# OpenTracing::opentracing-static # static library +# +# Linking to these libraries will also add the approprate interface header path to your compilation line. +# e.g. target_link_libraries(newtarget OpenTracing::opentracing) + +include("${CMAKE_CURRENT_LIST_DIR}/OpenTracingTargets.cmake") |