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/FindSPQR.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/FindSPQR.cmake')
-rw-r--r-- | cmake/FindSPQR.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/FindSPQR.cmake b/cmake/FindSPQR.cmake index 1e958c3c1..d6fb2e13d 100644 --- a/cmake/FindSPQR.cmake +++ b/cmake/FindSPQR.cmake @@ -6,7 +6,7 @@ if (SPQR_INCLUDES AND SPQR_LIBRARIES) set(SPQR_FIND_QUIETLY TRUE) -endif (SPQR_INCLUDES AND SPQR_LIBRARIES) +endif () find_path(SPQR_INCLUDES NAMES @@ -33,7 +33,7 @@ if(SPQR_LIBRARIES) set(SPQR_LIBRARIES ${SPQR_LIBRARIES} ${CHOLMOD_LIBRARY}) endif() -endif(SPQR_LIBRARIES) +endif() include(FindPackageHandleStandardArgs) find_package_handle_standard_args(SPQR DEFAULT_MSG SPQR_INCLUDES SPQR_LIBRARIES) |