From f806a98990e5d563e5fda19dbee240b7ac545cb8 Mon Sep 17 00:00:00 2001 From: toge Date: Sat, 28 Jan 2023 04:07:30 +0900 Subject: [PATCH] (#15280) miniz: add version 3.0.2 --- recipes/miniz/all/conandata.yml | 3 +++ recipes/miniz/all/test_v1_package/CMakeLists.txt | 6 ++---- recipes/miniz/config.yml | 2 ++ 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/recipes/miniz/all/conandata.yml b/recipes/miniz/all/conandata.yml index 809f38f903343..5be42f3eada37 100644 --- a/recipes/miniz/all/conandata.yml +++ b/recipes/miniz/all/conandata.yml @@ -1,4 +1,7 @@ sources: + "3.0.2": + url: "https://github.com/richgel999/miniz/archive/refs/tags/3.0.2.tar.gz" + sha256: "c4b4c25a4eb81883448ff8924e6dba95c800094a198dc9ce66a292ac2ef8e018" "3.0.1": url: "https://github.com/richgel999/miniz/archive/refs/tags/3.0.1.tar.gz" sha256: "53c29ed75bf1a9dd838349982ec8890f95269c422b17399d3880fd2d0f703af8" diff --git a/recipes/miniz/all/test_v1_package/CMakeLists.txt b/recipes/miniz/all/test_v1_package/CMakeLists.txt index 63f78425e4d0b..de3b75d9538de 100644 --- a/recipes/miniz/all/test_v1_package/CMakeLists.txt +++ b/recipes/miniz/all/test_v1_package/CMakeLists.txt @@ -4,7 +4,5 @@ project(test_package LANGUAGES C) include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) conan_basic_setup(TARGETS) -find_package(miniz REQUIRED CONFIG) - -add_executable(${PROJECT_NAME} ../test_package/test_package.c) -target_link_libraries(${PROJECT_NAME} PRIVATE miniz::miniz) +add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../test_package/ + ${CMAKE_CURRENT_BINARY_DIR}/test_package/) diff --git a/recipes/miniz/config.yml b/recipes/miniz/config.yml index 0ccfce284e89c..7c99dc2de1035 100644 --- a/recipes/miniz/config.yml +++ b/recipes/miniz/config.yml @@ -1,4 +1,6 @@ versions: + "3.0.2": + folder: all "3.0.1": folder: all "2.2.0":