]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/kenlm/fix-boost.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / kenlm / fix-boost.patch
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index bec81d4..44fd48a 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -1,6 +1,6 @@
6 cmake_minimum_required(VERSION 3.1)
7
8 -if (WIN32)
9 +if (WIN32 AND BUILD_SHARED_LIBS)
10 set(Boost_USE_STATIC_LIBS OFF)
11 # The auto-linking feature has problems with USE_STATIC_LIBS off, so we use
12 # BOOST_ALL_NO_LIB to turn it off.