diff options
author | Brad King <brad.king@kitware.com> | 2005-02-18 21:19:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-02-18 21:19:09 (GMT) |
commit | ffb2c0c0e5ff92a1611dba3de3fc11ce3f3cbe63 (patch) | |
tree | f16a889c6f1cb968680d72c37e7127b5faaa7930 /Source/cmMakefile.cxx | |
parent | 04b5d1613c6082558bb6dca4b831747399409035 (diff) | |
download | CMake-ffb2c0c0e5ff92a1611dba3de3fc11ce3f3cbe63.zip CMake-ffb2c0c0e5ff92a1611dba3de3fc11ce3f3cbe63.tar.gz CMake-ffb2c0c0e5ff92a1611dba3de3fc11ce3f3cbe63.tar.bz2 |
BUG: cmSourceFile instances should delete their own custom commands when a new one is set.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index cd3b4de..62a1e7c 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -701,10 +701,6 @@ AddCustomCommandToOutput(const char* outputIn, } if(file) { - if (file->GetCustomCommand()) - { - delete file->GetCustomCommand(); - } file->SetCustomCommand(cc); } } |