diff options
author | Brad King <brad.king@kitware.com> | 2004-11-03 12:51:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2004-11-03 12:51:51 (GMT) |
commit | a5ae290a5bdacf492f31928adb271b85d1d6c4b2 (patch) | |
tree | e7449908786332210ad77275356dfc4a711c5cc5 /Source/cmLocalGenerator.cxx | |
parent | e34207c1f0493c002da8c74897b81a72ef3ef2d4 (diff) | |
download | CMake-a5ae290a5bdacf492f31928adb271b85d1d6c4b2.zip CMake-a5ae290a5bdacf492f31928adb271b85d1d6c4b2.tar.gz CMake-a5ae290a5bdacf492f31928adb271b85d1d6c4b2.tar.bz2 |
STYLE: Adjusted signature of cmGeneratedFileStream to make copy-if-different more explicity.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 033ca6d..92cb202 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -92,7 +92,8 @@ void cmLocalGenerator::GenerateInstallRules() toplevel_install = 1; } file += "/cmake_install.cmake"; - cmGeneratedFileStream fout(file.c_str(), true); + cmGeneratedFileStream fout(file.c_str()); + fout.SetCopyIfDifferent(true); fout << "# Install script for directory: " << m_Makefile->GetCurrentDirectory() << std::endl << std::endl; |