]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/sentry-native/fix-config-cmake.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / sentry-native / fix-config-cmake.patch
CommitLineData
1e59de90
TL
1diff --git a/sentry-config.cmake.in b/sentry-config.cmake.in
2index 89ea345..21d8732 100644
3--- a/sentry-config.cmake.in
4+++ b/sentry-config.cmake.in
5@@ -5,7 +5,7 @@ set(SENTRY_TRANSPORT @SENTRY_TRANSPORT@)
6
7 if(SENTRY_BACKEND STREQUAL "crashpad")
8 if(@SENTRY_CRASHPAD_SYSTEM@)
9- find_package(crashpad REQUIRED)
10+ find_dependency(crashpad)
11 else()
12 include("${CMAKE_CURRENT_LIST_DIR}/sentry_crashpad-targets.cmake")
13 endif()
14@@ -14,7 +14,7 @@ endif()
15 include("${CMAKE_CURRENT_LIST_DIR}/sentry-targets.cmake")
16
17 if(SENTRY_TRANSPORT STREQUAL "curl" AND NOT @BUILD_SHARED_LIBS@)
18- find_package(CURL REQUIRED)
19+ find_dependency(CURL)
20 set_property(TARGET sentry::sentry APPEND
21- PROPERTY INTERFACE_LINK_LIBRARIES ${CURL_LIBRARIES})
22+ PROPERTY INTERFACE_LINK_LIBRARIES CURL::libcurl)
23 endif()