vcpkg/ports/boost-atomic/portfile.cmake
Javier Matos Denizac c6c59e33f3
[boost] pulling has_synchro bits from https://github.com/microsoft/vcpkg/pull… (#30836)
* pulling has_synchro bits from https://github.com/microsoft/vcpkg/pull/27694

* bump port version

* version

* fix clang

* bump version

* version

* oops

* bump dependency version for boost-atomic's boost-module-build-helper dependency

* version

* revert renaming stuff -.-

* version

* remove detection stuff for lib prefix/suffix

* version

* fix indentation

* version

* forgot one

* version

* one more!

* version

* revert changes to cmake-get-vars

* version

* generate ports

* version db

* generate ports

* version db

---------

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
2023-06-16 10:50:24 -07:00

22 lines
1.1 KiB
CMake

# Automatically generated by scripts/boost/generate-ports.ps1
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO boostorg/atomic
REF boost-1.82.0
SHA512 d14db6e1fc5d1d23f564a2117784b94951a6d4daffd48c505d13c2c697f84eb0f05b843a66b79dd9fc7a2cb764d6b015fed897e5f92dcb9546567ded111b7e8a
HEAD_REF master
)
vcpkg_replace_string("${SOURCE_PATH}/build/Jamfile.v2"
"project.load [ path.join [ path.make $(here:D) ] ../../config/checks/architecture ]"
"project.load [ path.join [ path.make $(here:D) ] ../config/checks/architecture ]"
)
file(COPY "${CURRENT_INSTALLED_DIR}/share/boost-config/checks" DESTINATION "${SOURCE_PATH}/config")
#Make sure to keep this line when updating boost.
file(INSTALL "${SOURCE_PATH}/config/has_synchronization_lib.cpp" DESTINATION "${CURRENT_PACKAGES_DIR}/share/boost-atomic")
include(${CURRENT_HOST_INSTALLED_DIR}/share/boost-build/boost-modular-build.cmake)
boost_modular_build(SOURCE_PATH ${SOURCE_PATH})
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})