From 6dce3b3b0a483a55b5861d8a1864fec76994bde1 Mon Sep 17 00:00:00 2001 From: toge Date: Sat, 28 Jan 2023 08:06:37 +0900 Subject: [PATCH] (#15456) plf_queue: add version 1.22 --- recipes/plf_queue/all/conandata.yml | 3 +++ recipes/plf_queue/all/conanfile.py | 2 +- recipes/plf_queue/all/test_v1_package/CMakeLists.txt | 8 +++----- recipes/plf_queue/config.yml | 2 ++ 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/recipes/plf_queue/all/conandata.yml b/recipes/plf_queue/all/conandata.yml index c0640bf1dd..c563552517 100644 --- a/recipes/plf_queue/all/conandata.yml +++ b/recipes/plf_queue/all/conandata.yml @@ -1,4 +1,7 @@ sources: + "1.22": + url: "https://github.com/mattreecebentley/plf_queue/archive/bef2bda67cb4cadfd5dceaaf2c8f037c540a12bc.tar.gz" + sha256: "96da3d7f27c62b39a147bc38a8d9f3a1a5f1cb0bfcc3b37d5ee2c7c056ad368e" "1.21": url: "https://github.com/mattreecebentley/plf_queue/archive/67c5de0cc2c21a865dd1fae180eb765d39f2d2c5.tar.gz" sha256: "baa01a5b0709e5742b87b1bcd7ddbb116e0c841beb22c4553f0d64f54e5a829d" diff --git a/recipes/plf_queue/all/conanfile.py b/recipes/plf_queue/all/conanfile.py index 3ba6a0533a..eb89a396e2 100644 --- a/recipes/plf_queue/all/conanfile.py +++ b/recipes/plf_queue/all/conanfile.py @@ -10,7 +10,7 @@ class PlfqueueConan(ConanFile): name = "plf_queue" description = "A C++ data container replicating std::queue functionality but with better performance." license = "Zlib" - topics = ("plf_queue", "container", "queue") + topics = ("container", "queue", "header-only") homepage = "https://plflib.org/queue.htm" url = "https://github.com/conan-io/conan-center-index" settings = "os", "arch", "compiler", "build_type" diff --git a/recipes/plf_queue/all/test_v1_package/CMakeLists.txt b/recipes/plf_queue/all/test_v1_package/CMakeLists.txt index 8af4853737..925ecbe19e 100644 --- a/recipes/plf_queue/all/test_v1_package/CMakeLists.txt +++ b/recipes/plf_queue/all/test_v1_package/CMakeLists.txt @@ -1,10 +1,8 @@ cmake_minimum_required(VERSION 3.1) -project(test_package LANGUAGES CXX) +project(test_package) include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) conan_basic_setup(TARGETS) -find_package(plf_queue REQUIRED CONFIG) - -add_executable(${PROJECT_NAME} ../test_package/test_package.cpp) -target_link_libraries(${PROJECT_NAME} PRIVATE plf_queue::plf_queue) +add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../test_package/ + ${CMAKE_CURRENT_BINARY_DIR}/test_package/) diff --git a/recipes/plf_queue/config.yml b/recipes/plf_queue/config.yml index 229075fd3b..60c525e6c3 100644 --- a/recipes/plf_queue/config.yml +++ b/recipes/plf_queue/config.yml @@ -1,4 +1,6 @@ versions: + "1.22": + folder: all "1.21": folder: all "1.19":