2020-12-16 07:00:41 +08:00
|
|
|
# Automatically generated by scripts/boost/generate-ports.ps1
|
2017-12-06 05:00:50 +08:00
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO boostorg/config
|
2021-09-28 08:12:39 +08:00
|
|
|
REF boost-1.77.0
|
|
|
|
SHA512 c6df16825b7bb27412667e00b6b6cdecbf56ee0707aa1df3505637c7de5c39c87335fabd7cd4361b29625d71c7664e6af865fc271ad0b3e70cc8872825f6155e
|
2017-12-06 05:00:50 +08:00
|
|
|
HEAD_REF master
|
2021-10-12 09:21:08 +08:00
|
|
|
PATCHES fix-emscripten-compilation.patch
|
2017-12-06 05:00:50 +08:00
|
|
|
)
|
|
|
|
|
2018-01-18 14:08:48 +08:00
|
|
|
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
2017-12-06 05:00:50 +08:00
|
|
|
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|
|
|
|
file(APPEND ${CURRENT_PACKAGES_DIR}/include/boost/config/user.hpp "\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")
|
|
|
|
|
|
|
|
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
|
|
|
file(APPEND ${CURRENT_PACKAGES_DIR}/include/boost/config/user.hpp "\n#define BOOST_ALL_DYN_LINK\n")
|
|
|
|
endif()
|
2018-04-18 06:18:09 +08:00
|
|
|
file(COPY ${SOURCE_PATH}/checks DESTINATION ${CURRENT_PACKAGES_DIR}/share/boost-config)
|