<div dir="ltr">Adding an option to VTK to not specify these features will also need to be propagated to all thirdpary libraries that use things such as `cxx_std_11` ( aka VTK-m ).<div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jan 11, 2019 at 3:04 PM Brad King via vtk-developers <<a href="mailto:vtk-developers@vtk.org">vtk-developers@vtk.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 1/11/19 2:59 PM, Sean McBride wrote:<br>
> In cmake I set CMAKE_CXX_FLAGS to "-std=c++2a" but when I do "make VERBOSE=1"<br>
> I see that something is passing -std=c++11:<br>
> <br>
> Is this a bug? If not, how do I specify the language variant?<br>
<br>
It's likely CMake adding it based on Common/Core/CMakeLists.txt:<br>
<br>
```<br>
vtk_module_compile_features(VTK::CommonCore<br>
PUBLIC<br>
cxx_std_11<br>
cxx_nullptr<br>
cxx_override)<br>
```<br>
<br>
There is an open CMake issue about handling future standards:<br>
<br>
<a href="https://gitlab.kitware.com/cmake/cmake/issues/17146#note_300071" rel="noreferrer" target="_blank">https://gitlab.kitware.com/cmake/cmake/issues/17146#note_300071</a><br>
<br>
Lacking a full solution in CMake, VTK could gain an option to not<br>
specify these feature requirements.<br>
<br>
-Brad<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://vtk.org/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">https://vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div>