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 /util/cmake/configurejson2cmake.py | |
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 'util/cmake/configurejson2cmake.py')
-rwxr-xr-x | util/cmake/configurejson2cmake.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py index e2ab8864f0..91ef573b3e 100755 --- a/util/cmake/configurejson2cmake.py +++ b/util/cmake/configurejson2cmake.py @@ -870,7 +870,7 @@ def get_feature_mapping(): "condition": "NOT WIN32 AND ( NOT WATCHOS AND NOT QT_FEATURE_opengl_desktop AND GLESv2_FOUND )" }, "simulator_and_device": {"condition": "UIKIT AND NOT QT_UIKIT_SDK"}, - "pkg-config": None, + "pkg-config": {"condition": "PKG_CONFIG_FOUND"}, "posix-libiconv": { "condition": "NOT WIN32 AND NOT QNX AND NOT ANDROID AND NOT APPLE AND TEST_posix_iconv AND TEST_iconv_needlib", "enable": "TEST_posix_iconv AND TEST_iconv_needlib", |