]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
win*.sh,cmake: Fix Windows linking errors 41217/head
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Fri, 7 May 2021 09:23:30 +0000 (09:23 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Fri, 7 May 2021 09:23:30 +0000 (09:23 +0000)
commit0af38d179e48a48354a863e2b7f6478ecd5db318
tree740e33eae9323387e0e873e2fdda5997e6bace2f
parentc6404e15cb2cde046224433403349e7437f3044e
win*.sh,cmake: Fix Windows linking errors

The Windows build is hitting linking errors after
bumping the Boost version to 1.75. The issue is that Boost
is now setting the zlib dependecy using INTERFACE_LINK_LIBRARIES,
which means that it's no longer located using the standard
"find_package" mechanism.

In order for the linker to locate zlib, we'll add it to the
linker search path.

[1] https://github.com/boostorg/boost_install/issues/47

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
CMakeLists.txt
win32_build.sh