BUG: Apply patch from bug #6180 to make CMAKE_ADDITIONAL_MAKE_CLEAN_FILES work for directories.

This commit is contained in:
Brad King 2008-02-15 11:56:13 -05:00
parent ca2a16c0a2
commit 342a32a2c0
1 changed files with 1 additions and 1 deletions

View File

@ -1080,7 +1080,7 @@ cmLocalUnixMakefileGenerator3
{
cmSystemTools::Error("Could not create ", cleanfilePath.c_str());
}
fout << "FILE(REMOVE\n";
fout << "FILE(REMOVE_RECURSE\n";
std::string remove = "$(CMAKE_COMMAND) -P ";
remove += this->Convert(cleanfile.c_str(), START_OUTPUT, SHELL);
for(std::vector<std::string>::const_iterator f = files.begin();