Skip to content

Commit

Permalink
Fix pkg_config generation
Browse files Browse the repository at this point in the history
Pull in fixes from PR conan-io#11813.
  • Loading branch information
jwillikers committed Jul 22, 2022
1 parent 43f090c commit 3791df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/xorg/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def package_info(self):
self.cpp_info.components[name].set_property(
"component_version", pkg_config.version)
self.cpp_info.components[name].set_property("pkg_config_custom_content",
"\n".join("%s=%s" % (key, value) for key, value in pkg_config.variables.items()))
"\n".join("%s=%s" % (key, value) for key, value in pkg_config.variables.items() if key not in ["pcfiledir", "prefix"]))

if self.settings.os == "Linux":
self.cpp_info.components["sm"].requires.append("uuid")

0 comments on commit 3791df0

Please sign in to comment.