file(LOCK GUARD FILE): Crashes in script mode
Assertion failed at cmFileLockPool.cxx:63
.
Repro:
- Create
my.cmake
. - Write:
file(
LOCK a
GUARD FILE
RESULT_VARIABLE lock_result
)
- Run
cmake -P my.cmake
.
cmake 3.7.1, any configuration
debug calls abort()
release is crashed because container is empty