]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/brpc/fix_thrift.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / brpc / fix_thrift.patch
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 3deb7342..737f6a70 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -62,8 +62,10 @@ if(WITH_DEBUG_SYMBOLS)
6 endif()
7
8 if(WITH_THRIFT)
9 + find_package(Thrift CONFIG REQUIRED)
10 + # target_link_libraries(main PRIVATE thrift::thrift thriftz::thriftz thriftnb::thriftnb)
11 set(THRIFT_CPP_FLAG "-DENABLE_THRIFT_FRAMED_PROTOCOL")
12 - set(THRIFT_LIB "thrift")
13 + set(THRIFT_LIB "thrift::thrift")
14 endif()
15
16 include(GNUInstallDirs)
17 @@ -196,9 +198,10 @@ set(DYNAMIC_LIB
18 ${LEVELDB_LIB}
19 ${PROTOC_LIB}
20 ${CMAKE_THREAD_LIBS_INIT}
21 + ${OPENSSL_CRYPTO_LIBRARY}
22 + ${OPENSSL_SSL_LIBRARY}
23 ${THRIFT_LIB}
24 ${THRIFTNB_LIB}
25 - ${OPENSSL_CRYPTO_LIBRARY}
26 dl
27 z)
28