CMake: Fix build of system jpeg is not available
Change-Id: Ie7462db556d0615e74755fa4fc3b51f625aade2f Reviewed-by: Mikhail Svetkin <mikhail.svetkin@qt.io> Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
parent
443ee65d3b
commit
7b434c0287
@ -644,7 +644,7 @@ qt_feature("ico" PUBLIC PRIVATE
|
||||
qt_feature_definition("ico" "QT_NO_ICO" NEGATE VALUE "1")
|
||||
qt_feature("jpeg" PUBLIC PRIVATE
|
||||
LABEL "JPEG"
|
||||
CONDITION QT_FEATURE_imageformatplugin
|
||||
CONDITION QT_FEATURE_imageformatplugin AND JPEG_FOUND
|
||||
DISABLE INPUT_libjpeg STREQUAL 'no'
|
||||
)
|
||||
qt_feature_definition("jpeg" "QT_NO_IMAGEFORMAT_JPEG" NEGATE)
|
||||
|
@ -698,6 +698,9 @@ def parseFeature(ctx, feature, data, cm_fh):
|
||||
'condition': 'NOT QT_FEATURE_icu AND QT_FEATURE_textcodec AND ( TEST_posix_iconv OR TEST_sun_iconv )'
|
||||
},
|
||||
'incredibuild_xge': None,
|
||||
'jpeg': {
|
||||
'condition': 'QT_FEATURE_imageformatplugin AND JPEG_FOUND'
|
||||
},
|
||||
'ltcg': None,
|
||||
'msvc_mp': None,
|
||||
'optimize_debug': None,
|
||||
|
Loading…
Reference in New Issue
Block a user