summaryrefslogtreecommitdiff
path: root/Tests/CustomCommand/check_mark.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CustomCommand/check_mark.cmake')
-rw-r--r--Tests/CustomCommand/check_mark.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/CustomCommand/check_mark.cmake b/Tests/CustomCommand/check_mark.cmake
index f8638d4ac8..1f47fd0bde 100644
--- a/Tests/CustomCommand/check_mark.cmake
+++ b/Tests/CustomCommand/check_mark.cmake
@@ -1,5 +1,5 @@
if(EXISTS "${MARK_FILE}")
message(FATAL_ERROR "Custom command run more than once!")
-else(EXISTS "${MARK_FILE}")
+else()
file(WRITE "${MARK_FILE}" "check for running custom command twice\n")
-endif(EXISTS "${MARK_FILE}")
+endif()