Skip to content

Commit

Permalink
Fix cross-compilation on mac.
Browse files Browse the repository at this point in the history
Depending on the version of Qt you are using QMAKE_OBJECTIVE_CXXFLAGS may be ignored and QMAKE_OBJECTIVE_CFLAGS is used instead.
So define both.
  • Loading branch information
jyavenard committed Dec 1, 2012
1 parent 3eef99e commit 75e47c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mythtv/libs/libmythui/libmythui.pro
Expand Up @@ -97,6 +97,7 @@ using_x11 {
macx {
HEADERS += screensaver-osx.h DisplayResOSX.h util-osx.h
SOURCES += screensaver-osx.cpp DisplayResOSX.cpp util-osx.cpp
QMAKE_OBJECTIVE_CFLAGS += $$QMAKE_CXXFLAGS
QMAKE_OBJECTIVE_CXXFLAGS += $$QMAKE_CXXFLAGS
OBJECTIVE_HEADERS += util-osx-cocoa.h
OBJECTIVE_SOURCES += util-osx-cocoa.mm
Expand Down

0 comments on commit 75e47c5

Please sign in to comment.