Permalink
Browse files

Fix cross-compilation on mac.

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 75e47c5989248aebe5c0d2b41b11c6465b2b4ebc
Showing with 1 addition and 0 deletions.
  1. +1 −0 mythtv/libs/libmythui/libmythui.pro
@@ -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

0 comments on commit 75e47c5

Please sign in to comment.