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

@@ -19,7 +19,6 @@ if(QT4_FOUND)
add_dependencies(all_examples Tutorial_sparse_example)
endif(QT4_FOUND)
check_cxx_compiler_flag("-std=c++11" EIGEN_COMPILER_SUPPORT_CPP11)
if(EIGEN_COMPILER_SUPPORT_CPP11)
add_executable(random_cpp11 random_cpp11.cpp)
target_link_libraries(random_cpp11 ${EIGEN_STANDARD_LIBRARIES_TO_LINK_TO})