summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-04-03 15:11:54 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-04-03 15:11:54 (GMT)
commit5514b2811b9d5887cec58ce376ac4065eac438f2 (patch)
treebcce4587e44e30080c8730113b75b4ceaae29f91 /Source
parente00d702cdd49778296651d0bf01f86256d4daa92 (diff)
downloadCMake-5514b2811b9d5887cec58ce376ac4065eac438f2.zip
CMake-5514b2811b9d5887cec58ce376ac4065eac438f2.tar.gz
CMake-5514b2811b9d5887cec58ce376ac4065eac438f2.tar.bz2
BUG: response file must be a copy if different or you get relinks every time you run cmake
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefileTargetGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index b15410b..ee99b1c 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -1594,6 +1594,7 @@ cmMakefileTargetGenerator
responseFileNameFull += "/";
responseFileNameFull += name;
cmGeneratedFileStream responseStream(responseFileNameFull.c_str());
+ responseStream.SetCopyIfDifferent(true);
responseStream << options << "\n";
// Add a dependency so the target will rebuild when the set of