diff --git a/mavground.pri b/mavground.pri index d658a10c6941ca1952bfba9f377078f2f21903c2..5b2385544023c129288c3edb50eb1e09f501b45c 100644 --- a/mavground.pri +++ b/mavground.pri @@ -57,15 +57,15 @@ message(Qt version $$[QT_VERSION]) macx { HARDWARE_PLATFORM = $$system(uname -a) - contains( HARDWARE_PLATFORM, x86_64 ) { + contains( HARDWARE_PLATFORM, 9.8.0 ) { + # x86 Mac OS X Leopard 10.5 and earlier + CONFIG += x86 cocoa phonon + message(Building for Mac OS X 32bit/Leopard 10.5 and earlier) + } else { # x64 Mac OS X Snow Leopard 10.6 and later CONFIG += x86_64 cocoa CONFIG -= x86 phonon message(Building for Mac OS X 64bit/Snow Leopard 10.6 and later) - } else { - # x86 Mac OS X Leopard 10.5 and earlier - CONFIG += x86 cocoa phonon - message(Building for Mac OS X 32bit/Leopard 10.5 and earlier) } QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5