vcpkg/ports/opentelemetry-cpp/add-missing-find-dependency.patch

14 lines
585 B
Diff
Raw Normal View History

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
2023-05-05 01:27:02 +08:00
@@ -69,6 +69,8 @@ set(OPENTELEMETRY_VERSION
# ##############################################################################
find_package(Threads)
2023-05-05 01:27:02 +08:00
+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@")