mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
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.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user