D24841: Use modern way to set the C/CXX standard

Christophe Giboudeaux noreply at phabricator.kde.org
Wed Oct 23 10:17:51 BST 2019


cgiboudeaux added a comment.


  In D24841#552577 <https://phabricator.kde.org/D24841#552577>, @dfaure wrote:
  
  > Where did -std=gnu++14 come from? The old code above certainly didn't set it.
  >
  > Maybe some projects were doing `set(CMAKE_CXX_STANDARD 14)` before including KDECompilerSettings? We could test the var here to avoid overwriting it...
  
  
  Yes, the CXX standard is set before looking for ECM in both repositories.

REPOSITORY
  R240 Extra CMake Modules

REVISION DETAIL
  https://phabricator.kde.org/D24841

To: vonreth, dfaure, cullmann
Cc: cgiboudeaux, aacid, chehrlic, kde-frameworks-devel, kde-buildsystem, LeGast00n, GB_2, bencreasy, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20191023/500fcffb/attachment-0001.html>


More information about the Kde-buildsystem mailing list