Unify c++11 usage in doc's examples and snippets

This commit is contained in:
Gael Guennebaud
2018-10-08 17:32:54 +02:00
parent e21766c6f5
commit aa5820056e
4 changed files with 4 additions and 3 deletions

View File

@@ -15,7 +15,6 @@ foreach(example_src ${examples_SRCS})
add_dependencies(all_examples ${example})
endforeach(example_src)
check_cxx_compiler_flag("-std=c++11" EIGEN_COMPILER_SUPPORT_CPP11)
if(EIGEN_COMPILER_SUPPORT_CPP11)
ei_add_target_property(nullary_indexing COMPILE_FLAGS "-std=c++11")
endif()