mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 13:03:01 +08:00
[boost] Only define BOOST_ALL_NO_LIB if not already defined. Fixes #2061.
This commit is contained in:
parent
a7f3ab84f0
commit
da04e942f2
@ -1,5 +1,5 @@
|
||||
Source: boost
|
||||
Version: 1.65.1-2
|
||||
Version: 1.65.1-3
|
||||
Description: Peer-reviewed portable C++ source libraries
|
||||
Build-Depends: zlib, bzip2
|
||||
|
||||
|
@ -258,7 +258,7 @@ file(
|
||||
|
||||
# Disable Boost auto-link.
|
||||
file(APPEND ${CURRENT_PACKAGES_DIR}/include/boost/config/user.hpp
|
||||
"\n#define BOOST_ALL_NO_LIB\n"
|
||||
"\n#ifndef BOOST_ALL_NO_LIB\n#define BOOST_ALL_NO_LIB\n#endif\n"
|
||||
)
|
||||
file(APPEND ${CURRENT_PACKAGES_DIR}/include/boost/config/user.hpp
|
||||
"\n#undef BOOST_ALL_DYN_LINK\n"
|
||||
|
Loading…
Reference in New Issue
Block a user