Skip to content

Commit

Permalink
Fix dependency management
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMarechal25 committed May 28, 2024
1 parent 99fc322 commit aaafa97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packaging/Config.cmake.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@PACKAGE_INIT@

include(CMakeFindDependencyMacro)
find_dependency(minizip-ng)
find_package(minizip-ng QUIET) #Optional, don't use find_dependency it forces return in case of dep not found
if (minizip-ng_FOUND)
add_library(MINIZIP::minizip ALIAS MINIZIP::minizip-ng)
else ()
Expand Down

0 comments on commit aaafa97

Please sign in to comment.