mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
OP-1103 Fixes a build problem where the CoreFoundation framework wasn’t found on some systems.
This commit is contained in:
parent
a42fcddabf
commit
c0f6d9d7bc
@ -20,7 +20,7 @@ HEADERS += configplugin.h \
|
||||
configpipxtremewidget.h \
|
||||
configstabilizationwidget.h \
|
||||
assertions.h \
|
||||
calibration.h \
|
||||
#calibration.h \
|
||||
defaultattitudewidget.h \
|
||||
defaulthwsettingswidget.h \
|
||||
inputchannelform.h \
|
||||
@ -51,10 +51,10 @@ SOURCES += configplugin.cpp \
|
||||
configccattitudewidget.cpp \
|
||||
configstabilizationwidget.cpp \
|
||||
configpipxtremewidget.cpp \
|
||||
twostep.cpp \
|
||||
#twostep.cpp \
|
||||
legacy-calibration.cpp \
|
||||
gyro-calibration.cpp \
|
||||
alignment-calibration.cpp \
|
||||
#gyro-calibration.cpp \
|
||||
#alignment-calibration.cpp \
|
||||
defaultattitudewidget.cpp \
|
||||
defaulthwsettingswidget.cpp \
|
||||
inputchannelform.cpp \
|
||||
|
@ -34,13 +34,7 @@ win32 {
|
||||
macx {
|
||||
SOURCES += src/ophid_usbmon_mac.cpp \
|
||||
hidapi/mac/hid.c
|
||||
SDK = /Developer/SDKs/MacOSX10.8.sdk
|
||||
ARCH = -mmacosx-version-min=10.5 \
|
||||
-arch ppc \
|
||||
-arch i386
|
||||
LIBS += $(ARCH) \
|
||||
-Wl,-syslibroot,$(SDK) \
|
||||
-framework CoreFoundation \
|
||||
LIBS += -framework CoreFoundation \
|
||||
-framework IOKit
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user