summaryrefslogtreecommitdiffstats
path: root/Tests/CustomCommand/check_mark.cmake
blob: 1f47fd0bde84d28c17161e4f3f3be03894be0df2 (plain)
1
2
3
4
5
if(EXISTS "${MARK_FILE}")
  message(FATAL_ERROR "Custom command run more than once!")
else()
  file(WRITE "${MARK_FILE}" "check for running custom command twice\n")
endif()