From 5514b2811b9d5887cec58ce376ac4065eac438f2 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 3 Apr 2008 11:11:54 -0400 Subject: [PATCH] BUG: response file must be a copy if different or you get relinks every time you run cmake --- Source/cmMakefileTargetGenerator.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index b15410b356..ee99b1c7dd 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