[cmake-developers] CMAKE_CXX_STANDARD seems to be ineffective (Ubuntu 14.04)

Adam Rankin arankin at robarts.ca
Thu Dec 1 12:02:40 EST 2016


Hello all,

I have switched my project over to using the CMAKE_CXX_STANDARD variable and it does not seem to be recognized by the ITK external project that I configure/build.

The project does not build (ITK tag 4.10.0) with CMAKE_CXX_STANDARD:STRING=11, but does build with CMAKE_CXX_FLAGS:STRING="...  -std=c++11"

Before I dive into too many details, is anyone familiar with any issues surrounding this variable?

Cheers,
Adam

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20161201/0b36e14d/attachment.html>


More information about the cmake-developers mailing list