aboutsummaryrefslogtreecommitdiff
path: root/scripts/boost/post-source-stubs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/boost/post-source-stubs')
-rw-r--r--scripts/boost/post-source-stubs/json.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/boost/post-source-stubs/json.cmake b/scripts/boost/post-source-stubs/json.cmake
new file mode 100644
index 000000000..698c7060a
--- /dev/null
+++ b/scripts/boost/post-source-stubs/json.cmake
@@ -0,0 +1,7 @@
+# see https://github.com/boostorg/json/issues/556 fore more details
+vcpkg_replace_string("${SOURCE_PATH}/build/Jamfile" "import ../../config/checks/config" "import config/checks/config")
+vcpkg_replace_string("${SOURCE_PATH}/build/Jamfile" "\n <library>/boost//container/<warnings-as-errors>off" "")
+
+vcpkg_replace_string("${SOURCE_PATH}/Jamfile" "import ../config/checks/config" "import build/config/checks/config")
+
+file(COPY "${CURRENT_INSTALLED_DIR}/share/boost-config/checks" DESTINATION "${SOURCE_PATH}/build/config")