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