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.cmake1
-rw-r--r--scripts/boost/post-source-stubs/math.cmake6
2 files changed, 7 insertions, 0 deletions
diff --git a/scripts/boost/post-source-stubs/json.cmake b/scripts/boost/post-source-stubs/json.cmake
index 698c7060a..bdc751886 100644
--- a/scripts/boost/post-source-stubs/json.cmake
+++ b/scripts/boost/post-source-stubs/json.cmake
@@ -3,5 +3,6 @@ vcpkg_replace_string("${SOURCE_PATH}/build/Jamfile" "import ../../config/checks/
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")
+vcpkg_replace_string("${SOURCE_PATH}/Jamfile" "..//check_basic_alignas" "..//..//..//check_basic_alignas")
file(COPY "${CURRENT_INSTALLED_DIR}/share/boost-config/checks" DESTINATION "${SOURCE_PATH}/build/config")
diff --git a/scripts/boost/post-source-stubs/math.cmake b/scripts/boost/post-source-stubs/math.cmake
new file mode 100644
index 000000000..fcbdd5814
--- /dev/null
+++ b/scripts/boost/post-source-stubs/math.cmake
@@ -0,0 +1,6 @@
+vcpkg_replace_string("${SOURCE_PATH}/build/Jamfile.v2" "import ../../config/checks/config" "import config/checks/config")
+vcpkg_replace_string("${SOURCE_PATH}/build/Jamfile.v2" "check-target-builds ../config//has_gcc_visibility" "check-target-builds ../has_gcc_visibility.cpp")
+
+file(COPY "${CURRENT_INSTALLED_DIR}/share/boost-config/checks" DESTINATION "${SOURCE_PATH}/build/config")
+file(COPY "${SOURCE_PATH}/config/has_gcc_visibility.cpp" DESTINATION "${SOURCE_PATH}/build/config")
+file(COPY "${SOURCE_PATH}/config/has_gcc_visibility.cpp" DESTINATION "${SOURCE_PATH}/")