mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-06 13:48:59 -04:00
Force C++11 if gxs mail is enabled
This commit is contained in:
parent
b4727bde29
commit
7c74cae1ef
1 changed files with 9 additions and 1 deletions
|
@ -182,4 +182,12 @@ rs_nocppwarning {
|
||||||
warning("QMAKE: You have disable C preprocessor warnings.")
|
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…
Add table
Add a link
Reference in a new issue