Cmake wont work - No current working directory Cmake wont work - No current working directory unix unix

Cmake wont work - No current working directory


CMake 2.8.10 (and older) generates error

No current working directory

if current directory cannot be accessed(usually, deleted). This can be checked with command

cd .

Modern CMake (since 2.8.11) generates another error:

Current working directory cannot be established.

See also this bugreport.