mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 02:35:38 +08:00
Fix Mac OSX build issues
This commit is contained in:
@@ -2,7 +2,7 @@ include (externals.pri)
|
|||||||
|
|
||||||
LIBS *= -L$$BuildRoot/lib
|
LIBS *= -L$$BuildRoot/lib
|
||||||
|
|
||||||
unix {
|
unix:!macx {
|
||||||
# Set the rpath-link to find dependent shared libraries when linking
|
# Set the rpath-link to find dependent shared libraries when linking
|
||||||
# Note: This does not add any rpath into the binaries.
|
# Note: This does not add any rpath into the binaries.
|
||||||
LIBS += -Wl,-rpath-link,$$BuildRoot/lib
|
LIBS += -Wl,-rpath-link,$$BuildRoot/lib
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
include ($$SourceRoot/config.pri)
|
include ($$SourceRoot/config.pri)
|
||||||
include ($$SourceRoot/build.pri)
|
include ($$SourceRoot/build.pri)
|
||||||
|
|
||||||
QT += network dbus gui multimedia
|
QT += network dbus gui widgets multimedia
|
||||||
|
|
||||||
TARGET = blackinput
|
TARGET = blackinput
|
||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
@@ -40,6 +40,7 @@ macx {
|
|||||||
HEADERS += $$PWD/osx/*.h
|
HEADERS += $$PWD/osx/*.h
|
||||||
SOURCES += $$PWD/osx/*.cpp
|
SOURCES += $$PWD/osx/*.cpp
|
||||||
OBJECTIVE_SOURCES += $$PWD/osx/*.mm
|
OBJECTIVE_SOURCES += $$PWD/osx/*.mm
|
||||||
|
LIBS *= -framework CoreFoundation -framework ApplicationServices -framework Foundation -framework AppKit
|
||||||
}
|
}
|
||||||
|
|
||||||
DESTDIR = $$BuildRoot/lib
|
DESTDIR = $$BuildRoot/lib
|
||||||
|
|||||||
Reference in New Issue
Block a user