Skip to content

Commit

Permalink
[cairo] restore main pkg-config name
Browse files Browse the repository at this point in the history
  • Loading branch information
planetmarshall committed Aug 25, 2022
1 parent 8d6d988 commit adf4fb7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipes/cairo/meson/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,9 @@ def add_component_and_base_requirements(component, requirements, system_libs=Non

self.cpp_info.set_property("pkg_config_name", "cairo-all-do-no-use")
self.cpp_info.names["pkg_config"] = "cairo-all-do-no-use"

self.cpp_info.components["cairo_"].set_property("pkg_config_name", "cairo")
self.cpp_info.components["cairo_"].names["pkg_config_name"] = "cairo"
self.cpp_info.components["cairo_"].libs = ["cairo"]
self.cpp_info.components["cairo_"].includedirs.insert(0, os.path.join("include", "cairo"))

Expand Down

0 comments on commit adf4fb7

Please sign in to comment.