vcpkg/scripts/boost/post-source-stubs/log.cmake
Yury Bura 96ec7fb25d
[boost] update to 1.79.0 (#24210)
* [scripts/boost] update to v1.79.0

* [boost-*] re-generate ports

* update versions

* [boost-wave] fix build

* update version

* [fbthrift] fix build compatibility with Boost 1.79.0

* update versions

* [scripts/boost] use vcpkg_replace_string

* update versions
2022-04-21 10:01:54 -07:00

10 lines
711 B
CMake

file(READ "${SOURCE_PATH}/build/Jamfile.v2" _contents)
string(REPLACE "import ../../config/checks/config" "import ../config/checks/config" _contents "${_contents}")
string(REPLACE " <conditional>@select-arch-specific-sources" "#<conditional>@select-arch-specific-sources" _contents "${_contents}")
file(WRITE "${SOURCE_PATH}/build/Jamfile.v2" "${_contents}")
vcpkg_replace_string("${SOURCE_PATH}/build/log-arch-config.jam"
"project.load [ path.join [ path.make $(here:D) ] ../../config/checks/architecture ]"
"project.load [ path.join [ path.make $(here:D) ] ../config/checks/architecture ]"
)
file(COPY "${CURRENT_INSTALLED_DIR}/share/boost-config/checks" DESTINATION "${SOURCE_PATH}/config")