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

13 lines
552 B
Diff
Raw Normal View History

diff --git a/cmake/opentelemetry-cpp-config.cmake.in b/cmake/opentelemetry-cpp-config.cmake.in
index adae58d..21baab7 100644
--- a/cmake/opentelemetry-cpp-config.cmake.in
+++ b/cmake/opentelemetry-cpp-config.cmake.in
@@ -69,6 +69,7 @@ set(OPENTELEMETRY_VERSION
# ##############################################################################
find_package(Threads)
+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@")