configurejson2cmake.py: Don't emit a fixme for C++11 config

Change-Id: I8408f6126115a0f76b0fed2cc42b54e5c148821d
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
Albert Astals Cid 2019-02-12 10:11:24 +01:00
parent cfba14e1e9
commit 443ee65d3b
2 changed files with 4 additions and 2 deletions

View File

@ -59,8 +59,7 @@ test(fptr);
/* END TEST: */
return 0;
}
"# FIXME: qmake: CONFIG += c++11
)
")
# clock-monotonic
qt_config_compile_test(clock_monotonic

View File

@ -619,6 +619,9 @@ def parseTest(ctx, test, data, cm_fh):
cm_fh.write("if (LINUX)\n")
cm_fh.write(" set(" + librariesCmakeName + " pthread rt)\n")
cm_fh.write("endif()\n")
elif details["qmake"] == "CONFIG += c++11":
# do nothing we're always in c++11 mode
pass
else:
qmakeFixme = "# FIXME: qmake: {}\n".format(details["qmake"])