qt5base-lts/cmake/QtBuildInternals
Alessandro Portale 72388f77a7 CMake: Turn off pkg_config_enabled if pkg_config is not found
The qt_build_internals_disable_pkg_config_if_needed function didn't
actually check if the pkg-config executable is available when turning
the pkg-config feature on.

This broke certain configurations like Android (on some hosts).

Try to find the executable and take that into account when computing
the value of the feature.

Task-number: QTBUG-85399
Change-Id: Ie79c637f2d2b689c392862c90075d309906fe506
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2020-09-09 18:53:45 +02:00
..
QtStandaloneTestTemplateProject CMake: Fix standalone tests to work properly on reconfiguration 2020-06-04 22:28:06 +02:00
QtBuildInternalsAndroid.cmake CMake: Fix various issues with the Android build 2020-07-09 11:56:31 +02:00
QtBuildInternalsConfig.cmake CMake: Turn off pkg_config_enabled if pkg_config is not found 2020-09-09 18:53:45 +02:00