remove unrequired dependencies in CMake files
fixed CMake files
clean Diet in error messages