aboutsummaryrefslogtreecommitdiff
path: root/scripts/boost/post-source-stubs/json.cmake
diff options
context:
space:
mode:
authorautoantwort <41973254+autoantwort@users.noreply.github.com>2021-05-28 20:20:52 +0200
committerGitHub <noreply@github.com>2021-05-28 11:20:52 -0700
commit7bc5b8cdfaf35329c1520b2af8d368e2b1cb78e6 (patch)
treec927442ea09f874be3fadd402ae5f53a4a5c27c5 /scripts/boost/post-source-stubs/json.cmake
parentbf2aaf9002ad98c90fd41be17275a665e113a9eb (diff)
downloadvcpkg-7bc5b8cdfaf35329c1520b2af8d368e2b1cb78e6.tar.gz
vcpkg-7bc5b8cdfaf35329c1520b2af8d368e2b1cb78e6.zip
[Boost] fix not header only libs (#17372)
* [boost] don't handle compiled libs as header only ones (json/python) * add version files * [boost script] wait for lock to not get failure messages * [boost-json] fix build * add version files * remove unnecessary changes * Trigger Build because of #17612 * update boost asio and concept-check as requested by ci * add version files * Trigger Build because of #17612 * apply code review * add version files * fix version stuff * Apply suggestions from code review Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com> * fixes * add version file * fix wrong suggestion * add version files * Update versions/b-/boost.json Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * Address the review suggestion Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com> Co-authored-by: Robert Schumacher <roschuma@microsoft.com> Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
Diffstat (limited to 'scripts/boost/post-source-stubs/json.cmake')
-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")