Skip to content

Commit

Permalink
Add some compiler directives for clang and C++11 on Mac OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
gburri committed May 8, 2012
1 parent abc51f0 commit 6b37386
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions application/Common/common.pri
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ CONFIG(debug, debug|release) {
win32 {
# For mingw32.
QMAKE_CXXFLAGS += -std=gnu++0x
} macx {
# For clang.
QMAKE_CXXFLAGS += -std=c++11 -stdlib=libc++
} else {
QMAKE_CXXFLAGS += -std=c++0x
}
Expand Down

0 comments on commit 6b37386

Please sign in to comment.