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

David Faure noreply at phabricator.kde.org
Wed Oct 23 10:08:06 BST 2019


dfaure added a comment.


  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...

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/47804302/attachment.html>


More information about the Kde-buildsystem mailing list