1
0
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:
Patrick Huebner 2013-11-10 09:36:37 +11:00
parent a42fcddabf
commit c0f6d9d7bc
2 changed files with 5 additions and 11 deletions

View File

@ -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 \

View File

@ -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
}