mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Force C++11 if gxs mail is enabled
This commit is contained in:
parent
b4727bde29
commit
7c74cae1ef
@ -182,4 +182,12 @@ rs_nocppwarning {
|
||||
warning("QMAKE: You have disable C preprocessor warnings.")
|
||||
}
|
||||
|
||||
rs_gxs_mail:DEFINES *= RS_GXS_MAIL
|
||||
rs_gxs_mail {
|
||||
DEFINES *= RS_GXS_MAIL
|
||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||
CONFIG += c++11
|
||||
} else {
|
||||
QMAKE_CXXFLAGS += -std=c++0x
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user