Skip to content

Commit

Permalink
(#4824) [libpng/1.6.37] Adds find_package generator to libpng
Browse files Browse the repository at this point in the history
Libpng uses find_package to find zlib. Currently it uses the cmake provide findZLIB, this changes that to have conan generate it.
  • Loading branch information
mjvankampen committed Mar 9, 2021
1 parent df668a6 commit 60a672d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/libpng/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class LibpngConan(ConanFile):
homepage = "http://www.libpng.org"
license = "libpng-2.0"
exports_sources = ["CMakeLists.txt", "patches/*"]
generators = "cmake"
generators = ["cmake", "cmake_find_package"]
settings = "os", "arch", "compiler", "build_type"
options = {"shared": [True, False], "fPIC": [True, False], "api_prefix": "ANY"}
default_options = {'shared': False, 'fPIC': True, "api_prefix": None}
Expand Down

0 comments on commit 60a672d

Please sign in to comment.