BUG: Apply patch from bug #6180 to make CMAKE_ADDITIONAL_MAKE_CLEAN_FILES work for directories.
This commit is contained in:
parent
ca2a16c0a2
commit
342a32a2c0
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue