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/FindKLU.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/FindKLU.cmake')
-rw-r--r-- | cmake/FindKLU.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/FindKLU.cmake b/cmake/FindKLU.cmake index 4a8f8e0b0..6217d1490 100644 --- a/cmake/FindKLU.cmake +++ b/cmake/FindKLU.cmake @@ -3,7 +3,7 @@ if (KLU_INCLUDES AND KLU_LIBRARIES) set(KLU_FIND_QUIETLY TRUE) -endif (KLU_INCLUDES AND KLU_LIBRARIES) +endif () find_path(KLU_INCLUDES NAMES @@ -22,7 +22,7 @@ if(KLU_LIBRARIES) if(NOT KLU_LIBDIR) get_filename_component(KLU_LIBDIR ${KLU_LIBRARIES} PATH) - endif(NOT KLU_LIBDIR) + endif() find_library(COLAMD_LIBRARY colamd PATHS ${KLU_LIBDIR} $ENV{KLUDIR} ${LIB_INSTALL_DIR}) if(COLAMD_LIBRARY) @@ -39,7 +39,7 @@ if(KLU_LIBRARIES) set(KLU_LIBRARIES ${KLU_LIBRARIES} ${BTF_LIBRARY}) endif() -endif(KLU_LIBRARIES) +endif() include(FindPackageHandleStandardArgs) find_package_handle_standard_args(KLU DEFAULT_MSG |