Sign in
fuchsia
/
third_party
/
cmake
/
4e4327ee3cbcbb083a0a5aa44b8d932728d30d3f
/
.
/
Tests
/
RunCMake
/
file
/
LOCK-error-lock-fail.cmake
blob: aa7f663c248cc6926531986f771601a41fddf6da [
file
] [
log
] [
blame
]
set
(
lfile
"${CMAKE_CURRENT_BINARY_DIR}/file-to-lock"
)
FILE
(
WRITE
"${lfile}"
""
)
# Try to lock file '${lfile}/cmake.lock'. Since `lfile` is not a directory
# expected that operation will fail.
file
(
LOCK
"${lfile}"
DIRECTORY
)