aboutsummaryrefslogtreecommitdiff
path: root/scripts/boost/post-source-stubs/context.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/boost/post-source-stubs/context.cmake')
-rw-r--r--scripts/boost/post-source-stubs/context.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/boost/post-source-stubs/context.cmake b/scripts/boost/post-source-stubs/context.cmake
new file mode 100644
index 000000000..9ccf34233
--- /dev/null
+++ b/scripts/boost/post-source-stubs/context.cmake
@@ -0,0 +1,5 @@
+file(READ "${SOURCE_PATH}/build/Jamfile.v2" _contents)
+string(REPLACE "import ../../config/checks/config" "import config/checks/config" _contents "${_contents}")
+file(WRITE "${SOURCE_PATH}/build/Jamfile.v2" "${_contents}")
+file(COPY "${CURRENT_INSTALLED_DIR}/share/boost-config/checks" DESTINATION "${SOURCE_PATH}/build/config")
+