mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-25 22:35:45 +00:00
Disable Boost auto-link.
Fixes #483. vcpkg always links all installed libraries for the target triplet; Boost's own auto-link feature is therefore redundant.
This commit is contained in:
parent
7f4682b20d
commit
59c34be252
@ -1,4 +1,4 @@
|
||||
Source: boost
|
||||
Version: 1.62-9
|
||||
Version: 1.62-10
|
||||
Description: Peer-reviewed portable C++ source libraries
|
||||
Build-Depends: zlib
|
||||
|
@ -108,11 +108,10 @@ file(
|
||||
DESTINATION ${CURRENT_PACKAGES_DIR}/include
|
||||
)
|
||||
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
file(APPEND ${CURRENT_PACKAGES_DIR}/include/boost/config/user.hpp
|
||||
"\n#define BOOST_ALL_DYN_LINK\n"
|
||||
)
|
||||
endif()
|
||||
# Disable Boost auto-link.
|
||||
file(APPEND ${CURRENT_PACKAGES_DIR}/include/boost/config/user.hpp
|
||||
"\n#define BOOST_ALL_NO_LIB\n"
|
||||
)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE_1_0.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/boost RENAME copyright)
|
||||
message(STATUS "Packaging headers done")
|
||||
|
Loading…
x
Reference in New Issue
Block a user