]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
win*.sh,cmake: Fix Windows linking errors 41259/head
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Fri, 7 May 2021 09:23:30 +0000 (09:23 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Mon, 10 May 2021 13:56:11 +0000 (13:56 +0000)
commit6719fda12b645822321e8e8420748641f2af0f7f
treefe02c2dce304ff0182760580638aab46af7400e1
parent70e645926facb2046f4e9f7e507edb4bbef37b9a
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>
(cherry picked from commit 0af38d179e48a48354a863e2b7f6478ecd5db318)
CMakeLists.txt
win32_build.sh