diff options
author | Deepika Upadhyay <dupadhya@redhat.com> | 2022-02-04 21:53:48 +0100 |
---|---|---|
committer | Omri Zeneva <ozeneva@redhat.com> | 2022-05-17 10:38:01 +0200 |
commit | bbaafcd32c8c35143f397b459b76cb380cb5f036 (patch) | |
tree | 358633a48e8375d5cd7b3a493747f9da85f54cb2 /cmake | |
parent | cmake: include opentelemetry include directories (diff) | |
download | ceph-bbaafcd32c8c35143f397b459b76cb380cb5f036.tar.xz ceph-bbaafcd32c8c35143f397b459b76cb380cb5f036.zip |
cmake: create jaeger_base target for consuming tracing libraries
Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/BuildOpentelemetry.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/BuildOpentelemetry.cmake b/cmake/modules/BuildOpentelemetry.cmake index 68987e222e6..c528273a098 100644 --- a/cmake/modules/BuildOpentelemetry.cmake +++ b/cmake/modules/BuildOpentelemetry.cmake @@ -6,14 +6,14 @@ function(target_create _target _lib) endfunction() function(build_opentelemetry) - set(opentelemetry_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/opentelemetry-cpp") + set(opentelemetry_SOURCE_DIR "${PROJECT_SOURCE_DIR}/src/opentelemetry-cpp") set(opentelemetry_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/opentelemetry-cpp") set(opentelemetry_cpp_targets opentelemetry_trace opentelemetry_exporter_jaeger_trace) set(opentelemetry_CMAKE_ARGS -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DWITH_JAEGER=ON -DBUILD_TESTING=OFF -DWITH_EXAMPLES=OFF - -DBoost_INCLUDE_DIR=${CMAKE_BINARY_DIR}/boost/include) + -DBoost_INCLUDE_DIR=${CMAKE_BINARY_DIR}/boost/include) set(opentelemetry_libs ${opentelemetry_BINARY_DIR}/sdk/src/trace/libopentelemetry_trace.a |