Compile fontconfig-related code on non-Unix platforms

...if the feature is enabled.
This fixes the build for MSYS2 with fontconfig.

Fixes: QTBUG-79748
Change-Id: I2c834b6d968766f98c5df2f3df5c8c9bdbd80f11
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
This commit is contained in:
Joerg Bornemann 2019-11-08 16:55:06 +01:00
parent 3b98fe7f77
commit 5d1af4f0be

View File

@ -17,9 +17,10 @@ qtConfig(freetype) {
unix {
include($$PWD/genericunix/genericunix.pri)
qtConfig(fontconfig) {
include($$PWD/fontconfig/fontconfig.pri)
}
}
qtConfig(fontconfig) {
include($$PWD/fontconfig/fontconfig.pri)
}
win32:!winrt {