Commit 505c3730 authored by Laszlo Agocs's avatar Laszlo Agocs
Browse files

Fix build without pkg-config


Change-Id: I9217c633bcbecd330715b6dbc654245b3fb739a8
Reviewed-by: default avatarLouai Al-Khanji <louai.al-khanji@theqtcompany.com>
Showing with 7 additions and 5 deletions
......@@ -3,8 +3,13 @@ TARGET = client
INCLUDEPATH += .
QT += waylandclient-private
CONFIG += link_pkgconfig
PKGCONFIG += wayland-client
!contains(QT_CONFIG, no-pkg-config) {
PKGCONFIG += wayland-client
CONFIG += link_pkgconfig
} else {
LIBS += -lwayland-client
}
CONFIG += wayland-scanner
WAYLANDCLIENTSOURCES += ../share-buffer.xml
......
......@@ -17,7 +17,4 @@ RESOURCES += compositor.qrc
CONFIG +=wayland-scanner
WAYLANDSERVERSOURCES += ../share-buffer.xml
CONFIG += link_pkgconfig
PKGCONFIG += wayland-server
DEFINES += QT_COMPOSITOR_QUICK
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment