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:
@@ -15,5 +15,5 @@ function(test_escape_string_as_regex)
|
||||
SET(testRef "\\\\\\.\\^\\$\\-\\+\\*\\(\\)\\[\\]\\?\\|")
|
||||
if(NOT test2 STREQUAL testRef)
|
||||
message("Error in the escape_string_for_regex function : \n ${test1} was escaped as ${test2}, should be ${testRef}")
|
||||
endif(NOT test2 STREQUAL testRef)
|
||||
endif()
|
||||
endfunction()
|
||||
Reference in New Issue
Block a user