CMake/Tests/RunCMake/file/LOCK-error-file-create-fail...

4 lines
104 B
CMake

set(tmp "${CMAKE_CURRENT_BINARY_DIR}/temp-directory")
file(MAKE_DIRECTORY "${tmp}")
file(LOCK "${tmp}")