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 /cmake/FindScotch.cmake | |
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 'cmake/FindScotch.cmake')
-rw-r--r-- | cmake/FindScotch.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindScotch.cmake b/cmake/FindScotch.cmake index 89d295ac2..af00eb0f2 100644 --- a/cmake/FindScotch.cmake +++ b/cmake/FindScotch.cmake @@ -301,7 +301,7 @@ if(SCOTCH_LIBRARIES) set(CMAKE_REQUIRED_INCLUDES) set(CMAKE_REQUIRED_FLAGS) set(CMAKE_REQUIRED_LIBRARIES) -endif(SCOTCH_LIBRARIES) +endif() if (SCOTCH_LIBRARIES) list(GET SCOTCH_LIBRARIES 0 first_lib) |