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