From 1ddd84694782fbb65a1b91e6bf861dcc9f872fe3 Mon Sep 17 00:00:00 2001 From: abdoulbari zaher <32519851+a-zakir@users.noreply.github.com> Date: Thu, 25 Apr 2024 08:33:28 +0000 Subject: [PATCH] clean --- src/CMakeLists.txt | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b99e1b6a25..fe637acb46 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -290,35 +290,7 @@ message(STATUS "OR-Tools tag ${ORTOOLS_TAG}") FetchContent_MakeAvailable(ortools) endif() -# find_package(minizip QUIET) - -# if(NOT minizip_FOUND OR BUILD_MINIZIP) -# if (NOT minizip_FOUND) -# message("minizip not found, downloading") -# endif () -# if (BUILD_MINIZIP) -# message("BUILD_MINIZIP set, downloading") -# endif () -# # Repository + tag -# set(MZ_REPOSITORY "https://github.com/zlib-ng/minizip-ng.git") -# set(MZ_TAG "4.0.1") -# # CMake flags -# set(MZ_LZMA "OFF" CACHE INTERNAL "") -# set(MZ_ZSTD "OFF" CACHE INTERNAL "") -# set(MZ_BZIP2 "OFF" CACHE INTERNAL "") -# set(MZ_PKCRYPT "OFF" CACHE INTERNAL "") -# set(MZ_WZAES "OFF" CACHE INTERNAL "") -# set(MZ_OPENSSL "OFF" CACHE INTERNAL "") -# set(MZ_ICONV "OFF" CACHE INTERNAL "") - -# FetchContent_Declare(minizip -# GIT_REPOSITORY ${MZ_REPOSITORY} -# GIT_TAG ${MZ_TAG} -# OVERRIDE_FIND_PACKAGE -# ) - -# FetchContent_MakeAvailable(minizip) -# endif() + find_package(minizip-ng REQUIRED)