Enabled C++11 features on Linux (GCC), disabled "unknown pragma" warnings on GCC.
This commit is contained in:
@@ -31,6 +31,8 @@ HEADERS += accommodation.h\
|
||||
unix {
|
||||
target.path = /usr/lib
|
||||
INSTALLS += target
|
||||
QMAKE_CXXFLAGS += -std=c++11
|
||||
QMAKE_CXXFLAGS += -Wno-unknown-pragmas
|
||||
}
|
||||
|
||||
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../core/release/ -lcore
|
||||
|
||||
Reference in New Issue
Block a user