diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-04-16 07:08:06 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-04-21 09:01:39 +0200 |
commit | 2a0585e7cbe4445b03752032de6f70f7c6b1ee0a (patch) | |
tree | 0d35f5dc2e1adca0f5451b094a22f50be3d61122 /configure.cmake | |
parent | 8ef4edc09ea27ef301c866f812481cf0697cbfba (diff) |
CMake: Port the 'pkg-config' feature
Change-Id: If571208aaaba8c1d0af834e8ae11869872d42135
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Diffstat (limited to 'configure.cmake')
-rw-r--r-- | configure.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake index 88c32e2637..ddb28060b6 100644 --- a/configure.cmake +++ b/configure.cmake @@ -356,6 +356,13 @@ qt_feature("use_lld_linker" DISABLE INPUT_linker STREQUAL 'bfd' OR INPUT_linker STREQUAL 'gold' ) qt_feature_config("use_lld_linker" QMAKE_PRIVATE_CONFIG) +qt_feature("pkg-config" PUBLIC + LABEL "Using pkg-config" + AUTODETECT NOT APPLE AND NOT WIN32 + CONDITION PKG_CONFIG_FOUND +) +qt_feature_config("pkg-config" QMAKE_PUBLIC_QT_CONFIG + NEGATE) qt_feature("developer-build" LABEL "Developer build" AUTODETECT OFF |