Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Commit

Permalink
pkgconf: set tools.gnu:pkg_config
Browse files Browse the repository at this point in the history
  • Loading branch information
ericLemanissier committed Mar 21, 2024
1 parent 2c9f25c commit b958b8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/pkgconf/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ def package_info(self):
self.buildenv_info.prepend_path("ACLOCAL_PATH", pkgconf_aclocal)
# TODO: evaluate if `ACLOCAL_PATH` is enough and we can stop using `AUTOMAKE_CONAN_INCLUDES`
self.buildenv_info.prepend_path("AUTOMAKE_CONAN_INCLUDES", pkgconf_aclocal)

self.conf_info.define("tools.gnu:pkg_config", "pkgconf")

# TODO: remove in conanv2
automake_extra_includes = unix_path_package_info_legacy(self, pkgconf_aclocal.replace("\\", "/"))
Expand Down

0 comments on commit b958b8f

Please sign in to comment.