diff options
author | Kevin Funk <kevin.funk@kdab.com> | 2016-01-06 17:37:13 +0100 |
---|---|---|
committer | Kevin Funk <kfunk@kde.org> | 2016-01-06 17:34:37 +0000 |
commit | aaf0b72a816ba430442d4ea956db95fa8e286e9f (patch) | |
tree | 9d383f094db9940157832d80c6e17ba1a4d8693e /LICENSE.LGPLv3 | |
parent | 4511075fb40de3ecdb39dc8345b1df0c547d781c (diff) |
CMake: Enable C++11 support on Qt5 targets
Implicitly add the minimum required `-std=...` to Qt5 module targets.
Use the newly introduced INTERFACE_COMPILE_FEATURES property for this,
which is available starting from CMake version 3.1.
This also fixes the Qt5 CMake tests, which previously try-compiled projects
using Qt 5.7 headers in non-C++11 mode, thus failed.
Change-Id: I54fc0e07403b646b5d6ac3ab6b8b47119b4feef6
Reviewed-by: Stephen Kelly <steveire@gmail.com>
Diffstat (limited to 'LICENSE.LGPLv3')
0 files changed, 0 insertions, 0 deletions