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. --- lapack/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lapack') diff --git a/lapack/CMakeLists.txt b/lapack/CMakeLists.txt index af436a323..baa21548f 100644 --- a/lapack/CMakeLists.txt +++ b/lapack/CMakeLists.txt @@ -86,9 +86,9 @@ if(EIGEN_ENABLE_LAPACK_TESTS) endif() -endif(EIGEN_ENABLE_LAPACK_TESTS) +endif() -endif(EIGEN_Fortran_COMPILER_WORKS) +endif() add_library(eigen_lapack_static ${EigenLapack_SRCS} ${ReferenceLapack_SRCS}) add_library(eigen_lapack SHARED ${EigenLapack_SRCS}) @@ -152,7 +152,7 @@ if(EXISTS ${eigen_full_path_to_testing_lapack}) -DINTDIR=${CMAKE_CFG_INTDIR} -P "${LAPACK_SOURCE_DIR}/testing/runtest.cmake") endif() - endmacro(add_lapack_test) + endmacro() if (BUILD_SINGLE) add_lapack_test(stest.out stest.in xlintsts) -- cgit v1.2.3