File tree Expand file tree Collapse file tree 1 file changed +33
-1
lines changed
Expand file tree Collapse file tree 1 file changed +33
-1
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,39 @@ set(OPENTELEMETRY_VERSION
7070
7171# ##############################################################################
7272
73- find_package (Threads)
73+ include (CMakeFindDependencyMacro)
74+
75+ find_dependency(Threads)
76+
77+ if (@WITH_ABSEIL@)
78+ find_dependency(absl)
79+ endif ()
80+
81+ if (@WITH_OTLP_GRPC@)
82+ find_dependency(gRPC)
83+ endif ()
84+
85+ if ("@OpenTracing_FOUND@" )
86+ find_dependency(OpenTracing)
87+ endif ()
88+
89+ if ("@prometheus-cpp_FOUND@" )
90+ find_dependency(prometheus-cpp)
91+ endif ()
92+
93+ if ("@Protobuf_FOUND@" OR "@PROTOBUF_FOUND@" )
94+ find_dependency(Protobuf)
95+ endif ()
96+
97+ if (@WITH_HTTP_CLIENT_CURL@ AND NOT @BUILD_SHARED_LIBS @)
98+ if ("@CURL_FOUND@" )
99+ find_dependency(CURL)
100+ endif ()
101+
102+ if ("@ZLIB_FOUND@" )
103+ find_dependency(ZLIB)
104+ endif ()
105+ endif ()
74106
75107set_and_check(OPENTELEMETRY_CPP_INCLUDE_DIRS "@PACKAGE_INCLUDE_INSTALL_DIR@" )
76108set_and_check(OPENTELEMETRY_CPP_LIBRARY_DIRS "@PACKAGE_CMAKE_INSTALL_LIBDIR@" )
You can’t perform that action at this time.
0 commit comments