mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 09:50:04 +08:00
326968a70b
* [minizip] Misc fixes * [minizip] CMake config is unofficial * [xlsxio] Update, fixes * [collada-dom] Fix minizip * [fmilib] Fix minizip * [xlsxio] Fix vcpkg quirk
15 lines
395 B
Diff
15 lines
395 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index f6c2bb6..3351ab0 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -222,7 +222,8 @@ else()
|
|
endif()
|
|
endif()
|
|
|
|
-pkg_check_modules(minizip minizip)
|
|
+find_package(minizip NAMES unofficial-minizip REQUIRED)
|
|
+add_library(minizip ALIAS unofficial::minizip::minizip)
|
|
if(minizip_FOUND)
|
|
set(MINIZIP_INCLUDE_DIR ${minizip_INCLUDE_DIRS})
|
|
else()
|