cmake forces c++11 on an app that needs c++14
Kevin Ottens
ervin at kde.org
Fri Jun 10 13:30:19 UTC 2016
Hello,
On Friday, 10 June 2016 14:31:49 CEST David Faure wrote:
> > I don't know if the use of -std=c++11 instead of
> > -std=gnu++11 is deliberate (usually it is not, but the internet got in
> > the habit of recommending -std=c++11), but if it is, then you
> > additionally want to disable gnu extensions with
> >
> > set(CMAKE_CXX_EXTENSIONS OFF)
>
> No opinion. Kévin, I'll let you decide on that part.
Well, I'd rather not depend on compiler specific extensions.
Thanks for looking into it BTW.
Regards.
--
Kévin Ottens, http://ervin.ipsquad.net
KDAB - proud supporter of KDE, http://www.kdab.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20160610/eafeda63/attachment.sig>
More information about the Kde-buildsystem
mailing list