Helmut Grohne:
Source: debhelper
Version: 13.16
Tags: patch
Control: affects -1 + cmake src:qt6-connectivity
User: debian-cr...@lists.debian.org
Usertags: ftcbfs
X-Debbugs-Cc: Debian CMake Team <pkg-cmake-t...@lists.alioth.debian.org>
cmake changed its way of communicating pkg-config again. The earlier
method of passing -DPKGCONFIG_EXECUTABLE and later
-DPKG_CONFIG_EXECUTABLE are no longer honoured in version 3.30. However,
it now accepts an environment variable PKG_CONFIG. Let's also set that.
I know this is getting ridiculous, but what is our choice?
The attached patch goes slightly beyond and refactors a bit of code
duplication. Hope that's ok.
Helmut
Hmm, is there any reason why we would not just always set the
`PKG_CONFIG` environment variable for all build systems? We already set
it (conditionally) for `make`.
Do you know if there would be any harm in just doing it unconditionally
for all build systems?
Best regards,
Niels