diff options
Diffstat (limited to 'doc/CMakeLists.txt')
-rw-r--r-- | doc/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index db413bc65..9f6730b9c 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -10,6 +10,9 @@ if(CMAKE_COMPILER_IS_GNUCXX) endif(CMAKE_SYSTEM_NAME MATCHES Linux) endif(CMAKE_COMPILER_IS_GNUCXX) +# some examples and snippets needs c++11, so let's check it once +check_cxx_compiler_flag("-std=c++11" EIGEN_COMPILER_SUPPORT_CPP11) + option(EIGEN_INTERNAL_DOCUMENTATION "Build internal documentation" OFF) |