]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/proxywrapper/fix-find-libproxy.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / proxywrapper / fix-find-libproxy.patch
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 5a867a4..3ba85fa 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -5,11 +5,12 @@ project(proxywrapper)
6
7 include(GNUInstallDirs)
8
9 -find_library(proxy REQUIRED)
10 +find_package(libproxy REQUIRED)
11
12 -add_library(proxywrapper SHARED ProxyWrapper.cpp)
13 +add_library(proxywrapper ProxyWrapper.cpp)
14
15 -target_link_libraries(proxywrapper proxy)
16 +target_link_libraries(proxywrapper PRIVATE ${LIBPROXY_LIBRARIES})
17 +target_include_directories(proxywrapper PRIVATE ${LIBPROXY_INCLUDE_DIR})
18
19 install(TARGETS proxywrapper EXPORT proxywrapper DESTINATION ${CMAKE_INSTALL_LIBDIR})
20