diff options
| author | Erik Rigtorp <erik@rigtorp.se> | 2020-04-23 13:52:34 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-23 13:52:34 -0700 |
| commit | cd992c4cbb95ee5aaab8597262116da718690040 (patch) | |
| tree | ea464e52c5ed7171b397b1ed3229704ac6eac6f4 | |
| parent | b6cd6ca0ba71667e46610e3ecdf5de0cef043ef5 (diff) | |
| download | vcpkg-cd992c4cbb95ee5aaab8597262116da718690040.tar.gz vcpkg-cd992c4cbb95ee5aaab8597262116da718690040.zip | |
[spscqueue] Update to version 1.0 (#10874)
| -rw-r--r-- | ports/spscqueue/CONTROL | 2 | ||||
| -rw-r--r-- | ports/spscqueue/portfile.cmake | 21 |
2 files changed, 13 insertions, 10 deletions
diff --git a/ports/spscqueue/CONTROL b/ports/spscqueue/CONTROL index e8330caaa..f29c84e46 100644 --- a/ports/spscqueue/CONTROL +++ b/ports/spscqueue/CONTROL @@ -1,4 +1,4 @@ Source: spscqueue -Version: 2019-07-26 +Version: 1.0 Description: A bounded single-producer single-consumer wait-free and lock-free queue written in C++11 Homepage: https://github.com/rigtorp/SPSCQueue diff --git a/ports/spscqueue/portfile.cmake b/ports/spscqueue/portfile.cmake index 5bc0628bc..c0b9c4833 100644 --- a/ports/spscqueue/portfile.cmake +++ b/ports/spscqueue/portfile.cmake @@ -1,19 +1,22 @@ -# header-only library - -include(vcpkg_common_functions) - vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO rigtorp/SPSCQueue - REF 5165a08ac4474c77c636050332eca6ebfdd53533 - SHA512 30cd60711f816e6003a5b114c48bd12da449cb7b0f19aa58dd57e3abc3e5200847c3eb492627b4013f57eec11d5d6f0a11fedbcb21dd8dd5c44682c49456e4e1 + REF v1.0 + SHA512 8776b49070d549b1df155b0a1ad876a4145d75e004269b3573e8f9963329ad05350d323d87bae229c793cbaf1f2421e35fa7e923e68cc4dcd9cfb6698e8cd80e HEAD_REF master ) -file(COPY - ${SOURCE_PATH}/include/rigtorp/SPSCQueue.h - DESTINATION ${CURRENT_PACKAGES_DIR}/include/rigtorp +vcpkg_configure_cmake( + SOURCE_PATH ${SOURCE_PATH} + PREFER_NINJA ) +vcpkg_install_cmake() + +vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/SPSCQueue) + +file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib) +file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug) + # Handle copyright configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY) |
