]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/ktx/0001-Use-vcpkg-zstd.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / ktx / 0001-Use-vcpkg-zstd.patch
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index de38d5fe..1244ce55 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -283,9 +283,10 @@ macro(commom_lib_settings lib write )
6 endif()
7
8 if(WIN32)
9 + find_package(zstd CONFIG REQUIRED)
10 target_link_libraries(
11 ${lib}
12 - ${CMAKE_CURRENT_SOURCE_DIR}/other_lib/win/Release-x64/zstd_static.lib
13 + $<IF:$<TARGET_EXISTS:zstd::libzstd_shared>,zstd::libzstd_shared,zstd::libzstd_static>
14 )
15 # By wrapping in generator expression we force multi configuration generators (like Visual Studio)
16 # to take the exact path and not change it.