mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
[Build] Use pkg-config only on linux.
This commit is contained in:
parent
ff55c915b3
commit
1e6b9a915d
|
@ -16,7 +16,7 @@ win32-msvc* {
|
|||
}
|
||||
|
||||
# Check for pkg-config availability
|
||||
system(pkg-config --version > /dev/null) {
|
||||
!mac:unix:system(pkg-config --version > /dev/null) {
|
||||
isEqual(QT_MAJOR_VERSION, 5) {
|
||||
MODNAME = Qt5WebKitWidgets
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ SOURCES += $$PWD/qtwebkitplugin.cpp \
|
|||
DEFINES *= QT_STATICPLUGIN
|
||||
|
||||
|
||||
unix:contains(DEFINES, USE_QTWEBKIT_2_3):system(pkg-config --exists hunspell) {
|
||||
!mac:unix:contains(DEFINES, USE_QTWEBKIT_2_3):system(pkg-config --exists hunspell) {
|
||||
buildSpellcheck = true
|
||||
LIBS += $$system(pkg-config --libs hunspell)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user