Skip to content

Commit

Permalink
Add missing file
Browse files Browse the repository at this point in the history
  • Loading branch information
minhqdao committed Mar 3, 2024
1 parent aba2596 commit dc70f0b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions config/cmake/Findminizip.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
set(_NAME "minizip")
set(_URL "https://github.com/zlib-ng/minizip-ng")
set(_TAG "4.0.4")

message(STATUS "Retrieving ${_NAME} from ${_URL}")
include(FetchContent)
FetchContent_Declare(
${_NAME}
GIT_REPOSITORY ${_URL}
GIT_TAG ${_TAG}
)
FetchContent_MakeAvailable(${_NAME})
add_library("${_NAME}::${_NAME}" INTERFACE IMPORTED)
target_link_libraries("${_NAME}::${_NAME}" INTERFACE "${_NAME}")

0 comments on commit dc70f0b

Please sign in to comment.