mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-29 20:55:42 +08:00
Add support for non multi-arch linux distros
This commit is contained in:
committed by
Mat Sutcliffe
parent
4a7af7ee3d
commit
42fd0ed86e
@@ -13,7 +13,11 @@ INCLUDEPATH += . $$SourceRoot/src
|
|||||||
|
|
||||||
unix:!macx {
|
unix:!macx {
|
||||||
INCLUDEPATH *= /usr/include/dbus-1.0
|
INCLUDEPATH *= /usr/include/dbus-1.0
|
||||||
|
exists (/usr/lib/x86_64-linux-gnu){
|
||||||
INCLUDEPATH *= /usr/lib/x86_64-linux-gnu/dbus-1.0/include
|
INCLUDEPATH *= /usr/lib/x86_64-linux-gnu/dbus-1.0/include
|
||||||
|
} else {
|
||||||
|
INCLUDEPATH *= /usr/lib/dbus-1.0/include
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SOURCES += *.cpp
|
SOURCES += *.cpp
|
||||||
|
|||||||
@@ -13,7 +13,11 @@ INCLUDEPATH += . $$SourceRoot/src
|
|||||||
|
|
||||||
unix:!macx {
|
unix:!macx {
|
||||||
INCLUDEPATH *= /usr/include/dbus-1.0
|
INCLUDEPATH *= /usr/include/dbus-1.0
|
||||||
|
exists (/usr/lib/x86_64-linux-gnu){
|
||||||
INCLUDEPATH *= /usr/lib/x86_64-linux-gnu/dbus-1.0/include
|
INCLUDEPATH *= /usr/lib/x86_64-linux-gnu/dbus-1.0/include
|
||||||
|
} else {
|
||||||
|
INCLUDEPATH *= /usr/lib/dbus-1.0/include
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SOURCES += *.cpp
|
SOURCES += *.cpp
|
||||||
|
|||||||
@@ -42,7 +42,11 @@ INCLUDEPATH += ./libxplanemp ./libxplanemp/include ./libxplanemp/src
|
|||||||
|
|
||||||
unix:!macx {
|
unix:!macx {
|
||||||
INCLUDEPATH *= /usr/include/dbus-1.0
|
INCLUDEPATH *= /usr/include/dbus-1.0
|
||||||
|
exists (/usr/lib/x86_64-linux-gnu){
|
||||||
INCLUDEPATH *= /usr/lib/x86_64-linux-gnu/dbus-1.0/include
|
INCLUDEPATH *= /usr/lib/x86_64-linux-gnu/dbus-1.0/include
|
||||||
|
} else {
|
||||||
|
INCLUDEPATH *= /usr/lib/dbus-1.0/include
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# PlatformUtils also not used
|
# PlatformUtils also not used
|
||||||
|
|||||||
Reference in New Issue
Block a user