configure: skip Freetype/Fontconfig autodetection only on MSVC
In Windows there are package-based systems like MSYS2 that provide pkg-config for packages lookup. This change skips autodetection only for MSVC which doesn't provide the aforementioned feature. Task-number: QTBUG-57436 Change-Id: Iaed517e93031adbd2fd9dbf350764f76569b94ea Reviewed-by: Kai Koehne <kai.koehne@qt.io>bb10
parent
8f24dbaf07
commit
ff447717a2
|
|
@ -1206,14 +1206,14 @@
|
|||
"label": " Using system FreeType",
|
||||
"enable": "input.freetype == 'system'",
|
||||
"disable": "input.freetype == 'qt'",
|
||||
"autoDetect": "!config.win32",
|
||||
"autoDetect": "!config.msvc",
|
||||
"condition": "features.freetype && libs.freetype",
|
||||
"output": [ "privateFeature" ]
|
||||
},
|
||||
"fontconfig": {
|
||||
"label": "Fontconfig",
|
||||
"autoDetect": "!config.darwin",
|
||||
"condition": "!config.win32 && features.system-freetype && libs.fontconfig",
|
||||
"condition": "!config.msvc && features.system-freetype && libs.fontconfig",
|
||||
"output": [ "privateFeature", "feature" ]
|
||||
},
|
||||
"gbm": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue