diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-09-28 10:40:47 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-09-28 15:48:17 +0200 |
commit | 9bcabd71a7dc0a01f6a7bde9d9163db8b3f18cc4 (patch) | |
tree | 8849c36171f699189b456a0106576f1112e41ece /configure.cmake | |
parent | a9f352cce3e0930303fad5fa7b664009585b5f3b (diff) |
By default don't try to use pkg-config when targeting Android
It causes issues in our Windows CI, because the strawberry perl
pkg-config is found. And even that one is unusable, due to a bug in
CMake which is tracked at
https://gitlab.kitware.com/cmake/cmake/-/issues/21239
Change-Id: I58816195d35459e8a44c923399c35a4956c222a2
Reviewed-by: Simon Hausmann <hausmann@gmail.com>
Diffstat (limited to 'configure.cmake')
-rw-r--r-- | configure.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.cmake b/configure.cmake index 97eb0c7aa7..1ee218646b 100644 --- a/configure.cmake +++ b/configure.cmake @@ -433,7 +433,7 @@ qt_feature("optimize_size" qt_feature_config("optimize_size" QMAKE_PRIVATE_CONFIG) qt_feature("pkg-config" PUBLIC LABEL "Using pkg-config" - AUTODETECT NOT APPLE AND NOT WIN32 + AUTODETECT NOT APPLE AND NOT WIN32 AND NOT ANDROID CONDITION PKG_CONFIG_FOUND ) qt_feature_config("pkg-config" QMAKE_PUBLIC_QT_CONFIG |