We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aba2596 commit dc70f0bCopy full SHA for dc70f0b
config/cmake/Findminizip.cmake
@@ -0,0 +1,14 @@
1
+set(_NAME "minizip")
2
+set(_URL "https://github.com/zlib-ng/minizip-ng")
3
+set(_TAG "4.0.4")
4
+
5
+message(STATUS "Retrieving ${_NAME} from ${_URL}")
6
+include(FetchContent)
7
+FetchContent_Declare(
8
+ ${_NAME}
9
+ GIT_REPOSITORY ${_URL}
10
+ GIT_TAG ${_TAG}
11
+)
12
+FetchContent_MakeAvailable(${_NAME})
13
+add_library("${_NAME}::${_NAME}" INTERFACE IMPORTED)
14
+target_link_libraries("${_NAME}::${_NAME}" INTERFACE "${_NAME}")
0 commit comments