diff options
author | Hans Johnson <hans.j.johnson@gmail.com> | 2019-10-31 11:36:27 -0500 |
---|---|---|
committer | Hans Johnson <hans.j.johnson@gmail.com> | 2019-10-31 11:36:27 -0500 |
commit | 6fb3e5f1767855bc1a8aa3c868bc7fbf0eeb67ef (patch) | |
tree | ee5db623e6eb11561a60f9abf0f6d0696c950360 /doc/CMakeLists.txt | |
parent | f1e83073082f2733eec6235f2fdf251217a54ade (diff) |
STYLE: Remove CMake-language block-end command arguments
Ancient versions of CMake required else(), endif(), and similar block
termination commands to have arguments matching the command starting the block.
This is no longer the preferred style.
Diffstat (limited to 'doc/CMakeLists.txt')
-rw-r--r-- | doc/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index f344ae572..50ae9ea47 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -7,8 +7,8 @@ project(EigenDoc) if(CMAKE_COMPILER_IS_GNUCXX) if(CMAKE_SYSTEM_NAME MATCHES Linux) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O1 -g1") - endif(CMAKE_SYSTEM_NAME MATCHES Linux) -endif(CMAKE_COMPILER_IS_GNUCXX) + endif() +endif() # some examples and snippets needs c++11, so let's check it once check_cxx_compiler_flag("-std=c++11" EIGEN_COMPILER_SUPPORT_CPP11) @@ -24,9 +24,9 @@ set(EIGEN_DOXY_HTML_COLORSTYLE_HUE "220") set(EIGEN_DOXY_TAGFILES "") if(EIGEN_INTERNAL_DOCUMENTATION) set(EIGEN_DOXY_INTERNAL "YES") -else(EIGEN_INTERNAL_DOCUMENTATION) +else() set(EIGEN_DOXY_INTERNAL "NO") -endif(EIGEN_INTERNAL_DOCUMENTATION) +endif() configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in |