Use the directory where CMakeLists.txt is rather than the current dir which can be anywhere.