vcpkg/ports/opentelemetry-cpp/add-missing-find-dependency.patch
jim wang 85da6f8e19
[opentelemetry_cpp] Update to 1.9.1 (#31754)
* update to 1.9.1

* update versions

* add blank line

* update version
2023-06-02 11:16:57 -07:00

14 lines
585 B
Diff

diff --git a/cmake/opentelemetry-cpp-config.cmake.in b/cmake/opentelemetry-cpp-config.cmake.in
index adae58d..2642772 100644
--- a/cmake/opentelemetry-cpp-config.cmake.in
+++ b/cmake/opentelemetry-cpp-config.cmake.in
@@ -69,6 +69,8 @@ set(OPENTELEMETRY_VERSION
# ##############################################################################
find_package(Threads)
+include(CMakeFindDependencyMacro)
+find_dependency(absl)
set_and_check(OPENTELEMETRY_CPP_INCLUDE_DIRS "@PACKAGE_INCLUDE_INSTALL_DIR@")
set_and_check(OPENTELEMETRY_CPP_LIBRARY_DIRS "@PACKAGE_CMAKE_INSTALL_LIBDIR@")