file(READ "${SOURCE_PATH}/build/Jamfile.v2" _contents) string(REPLACE "import ../../config/checks/config" "import ../config/checks/config" _contents "${_contents}") string(REPLACE " @select-arch-specific-sources" "#@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")