diff --git a/recipes/miniz/all/conandata.yml b/recipes/miniz/all/conandata.yml index 809f38f9033437..5be42f3eada376 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 63f78425e4d0b7..de3b75d9538de0 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 0ccfce284e89c5..7c99dc2de10358 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":