timeout-script.cmake 116 B

12345
  1. if(NOT file_to_lock)
  2. message(FATAL_ERROR "file_to_lock is empty")
  3. endif()
  4. file(LOCK "${file_to_lock}" TIMEOUT 1)