From 6fb3e5f1767855bc1a8aa3c868bc7fbf0eeb67ef Mon Sep 17 00:00:00 2001 From: Hans Johnson Date: Thu, 31 Oct 2019 11:36:27 -0500 Subject: 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. --- cmake/FindGSL.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmake/FindGSL.cmake') diff --git a/cmake/FindGSL.cmake b/cmake/FindGSL.cmake index bf411a7f9..10dc95340 100644 --- a/cmake/FindGSL.cmake +++ b/cmake/FindGSL.cmake @@ -54,7 +54,7 @@ IF(WIN32) PATHS ${GSL_POSSIBLE_ROOT_DIRS} PATH_SUFFIXES lib DOC "GSL library") - endif(NOT GSL_GSL_LIBRARY) + endif() FIND_LIBRARY(GSL_GSLCBLAS_LIBRARY NAMES libgslcblas.dll.a gslcblas libgslcblas @@ -68,7 +68,7 @@ IF(WIN32) PATHS ${GSL_POSSIBLE_ROOT_DIRS} PATH_SUFFIXES lib DOC "GSL library") - endif(NOT GSL_GSLCBLAS_LIBRARY) + endif() SET(GSL_LIBRARIES ${GSL_GSL_LIBRARY}) -- cgit v1.2.3