Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

build: add cmake dependency on minizip #51

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ find_package(Boost REQUIRED regex program_options)
find_package(GDAL REQUIRED)
find_package(ZLIB REQUIRED)
find_package(CURL REQUIRED)
find_package(minizip REQUIRED)

include_directories(${PROJECT_BINARY_DIR}/src)

Expand All @@ -28,7 +29,7 @@ set(SOURCE_FILES
)

add_subdirectory(src)
target_link_libraries(${PROJECT_NAME} PRIVATE z minizip bz2 expat GDAL::GDAL Boost::regex Boost::program_options CURL::libcurl)
target_link_libraries(${PROJECT_NAME} PRIVATE z minizip::minizip bz2 expat GDAL::GDAL Boost::regex Boost::program_options CURL::libcurl)

if (BUILD_TESTING)
enable_testing()
Expand Down
Loading