2021-05-18 18:24:38 -04:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO max0x7ba/atomic_queue
|
2023-12-20 21:29:28 +01:00
|
|
|
REF "v${VERSION}"
|
2024-10-04 23:41:36 +08:00
|
|
|
SHA512 2c1813074fd166f1d3491527a1faac1cc297f0b0e15fedf66a64465efc310256cce657e7205e41d277fa513bb322d18a273c6a9a6ce85ec8d182a2c81f90c35c
|
2021-05-18 18:24:38 -04:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2024-03-11 12:52:41 -07:00
|
|
|
set(VCPKG_BUILD_TYPE release) # header-only port
|
|
|
|
|
2021-05-18 18:24:38 -04:00
|
|
|
file(
|
2023-12-20 21:29:28 +01:00
|
|
|
COPY
|
|
|
|
"${SOURCE_PATH}/include/atomic_queue/atomic_queue.h"
|
|
|
|
"${SOURCE_PATH}/include/atomic_queue/atomic_queue_mutex.h"
|
|
|
|
"${SOURCE_PATH}/include/atomic_queue/barrier.h"
|
|
|
|
"${SOURCE_PATH}/include/atomic_queue/defs.h"
|
|
|
|
"${SOURCE_PATH}/include/atomic_queue/spinlock.h"
|
|
|
|
DESTINATION
|
|
|
|
"${CURRENT_PACKAGES_DIR}/include/atomic_queue"
|
2021-05-18 18:24:38 -04:00
|
|
|
)
|
|
|
|
|
2023-12-20 21:29:28 +01:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|