Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
f16a6a00
Commit
f16a6a00
authored
Apr 11, 2010
by
Hugo Vincent
Browse files
Lorenz, try this 64-bit detection method please :-)
parent
3d2866df
Changes
1
Hide whitespace changes
Inline
Side-by-side
mavground.pri
View file @
f16a6a00
...
...
@@ -60,19 +60,14 @@ message(Qt version $$[QT_VERSION])
# MAC OS X
macx {
CONFIG += x86 #x86_64
CONFIG
-= static
phonon
message(Building for Mac OS X)
config
-= static
HARDWARE_PLATFORM = $$system(
uname -a
)
contains( HARDWARE_PLATFORM,
x86_
64 ) {
# x64 Mac OS X Snow Leopard 10.6 and later
HARDWARE_PLATFORM = $$system(
g++ -dumpspecs
)
contains( HARDWARE_PLATFORM,
m
64 ) {
message(Building as 64-bit)
CONFIG += x86_64
CONFIG -= x86 static 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 static phonon
message(Building for Mac OS X 32bit/Leopard 10.5 and earlier)
CONFIG -= x86
}
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5
...
...
@@ -108,7 +103,7 @@ linux-g++ {
}
INCLUDEPATH += /usr/include/SDL
HARDWARE_PLATFORM = $$system(uname -
a
)
HARDWARE_PLATFORM = $$system(uname -
p
)
contains( HARDWARE_PLATFORM, x86_64 ) {
# 64-bit Linux
LIBS += \
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment