summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-02-15 16:56:13 (GMT)
committerBrad King <brad.king@kitware.com>2008-02-15 16:56:13 (GMT)
commit342a32a2c0b713405a3aec05c484960e60f665db (patch)
treeb74986b8f26aa3d8f20b48ba1f1c555ddce5a2b5 /Source/cmLocalUnixMakefileGenerator3.cxx
parentca2a16c0a221bb0c3be4491125c044c9112836e0 (diff)
downloadCMake-342a32a2c0b713405a3aec05c484960e60f665db.zip
CMake-342a32a2c0b713405a3aec05c484960e60f665db.tar.gz
CMake-342a32a2c0b713405a3aec05c484960e60f665db.tar.bz2
BUG: Apply patch from bug #6180 to make CMAKE_ADDITIONAL_MAKE_CLEAN_FILES work for directories.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 62f1bde..dda9574 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -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();