aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake/RegexUtils.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/RegexUtils.cmake')
-rw-r--r--cmake/RegexUtils.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/RegexUtils.cmake b/cmake/RegexUtils.cmake
index b59dfc340..73bed979a 100644
--- a/cmake/RegexUtils.cmake
+++ b/cmake/RegexUtils.cmake
@@ -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() \ No newline at end of file