mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
[slick-queue] Update to version 1.2.2 (#49348)
Co-authored-by: kzhdev <kzhdev@gmail.com>
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO SlickQuant/slick_queue
|
||||
REPO SlickQuant/slick-queue
|
||||
REF "v${VERSION}"
|
||||
SHA512 3d0dff64edcbf3d4f5e45f844ee440ccfedb508fd5801a051eaa1f9b7fb9108cb6558c5d9ba8ea351d45ee83cfdaeec304eccf472feb7cc45875ee52e3752bf3
|
||||
SHA512 7817da2e24f6b0077c692db5bc1f6f379916d9deb4c221a30b64ab66676c590d6532d2171591e0e25ce623323165c2a6a6e59404e89a64c0c9eff084ce297f59
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
@@ -15,10 +15,24 @@ vcpkg_cmake_configure(
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(
|
||||
PACKAGE_NAME slick_queue
|
||||
CONFIG_PATH lib/cmake/slick_queue
|
||||
PACKAGE_NAME slick-queue
|
||||
CONFIG_PATH lib/cmake/slick-queue
|
||||
)
|
||||
|
||||
# Temporary fix for legacy package name compatibility
|
||||
set(slick_queue_share "${CURRENT_PACKAGES_DIR}/share/slick_queue")
|
||||
file(MAKE_DIRECTORY "${slick_queue_share}")
|
||||
|
||||
file(WRITE "${slick_queue_share}/slick_queueConfig.cmake" [=[
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/../slick-queue/slick-queueConfig.cmake")
|
||||
]=])
|
||||
|
||||
file(COPY "${CURRENT_PACKAGES_DIR}/share/slick-queue/slick-queueConfigVersion.cmake"
|
||||
DESTINATION "${slick_queue_share}")
|
||||
file(RENAME
|
||||
"${slick_queue_share}/slick-queueConfigVersion.cmake"
|
||||
"${slick_queue_share}/slick_queueConfigVersion.cmake")
|
||||
|
||||
# Header-only library - remove lib directory
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
slick-queue is header-only and can be used from CMake via:
|
||||
|
||||
find_package(slick_queue CONFIG REQUIRED)
|
||||
target_link_libraries(main PRIVATE slick::slick_queue)
|
||||
find_package(slick-queue CONFIG REQUIRED)
|
||||
target_link_libraries(main PRIVATE slick::queue)
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
|
||||
"name": "slick-queue",
|
||||
"version": "1.2.1",
|
||||
"version": "1.2.2",
|
||||
"description": "A C++ Lock-Free MPMC queue - header-only library for high throughput concurrent messaging with optional shared memory support",
|
||||
"homepage": "https://github.com/SlickQuant/slick_queue",
|
||||
"homepage": "https://github.com/SlickQuant/slick-queue",
|
||||
"license": "MIT",
|
||||
"supports": "!uwp",
|
||||
"dependencies": [
|
||||
|
||||
@@ -9141,7 +9141,7 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"slick-queue": {
|
||||
"baseline": "1.2.1",
|
||||
"baseline": "1.2.2",
|
||||
"port-version": 0
|
||||
},
|
||||
"slick-shm": {
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "30492b9878718b6481f536be1375cdcb7bd0c4ed",
|
||||
"version": "1.2.2",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "5cc087e034508e15f1b5534d920d95a4eb62696c",
|
||||
"version": "1.2.1",
|
||||
|
||||
Reference in New Issue
Block a user