diff options
author | Brad King <brad.king@kitware.com> | 2021-01-20 15:22:27 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-01-20 15:22:32 (GMT) |
commit | 8809a742bec671603d1d4f7f91538df4367388ba (patch) | |
tree | f23fa4e4a79083cf895f879858a7101427f87074 /Source | |
parent | 4c6d433116cbf17500af48d4778d4bad35551b99 (diff) | |
parent | 51acae534a504d5cc3acf06ef1a9557b118b039a (diff) | |
download | CMake-8809a742bec671603d1d4f7f91538df4367388ba.zip CMake-8809a742bec671603d1d4f7f91538df4367388ba.tar.gz CMake-8809a742bec671603d1d4f7f91538df4367388ba.tar.bz2 |
Merge topic 'export-copy-if-different'
51acae534a install(EXPORT): Set copy-if-different on install export config files
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5717
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmExportInstallFileGenerator.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmExportInstallFileGenerator.cxx b/Source/cmExportInstallFileGenerator.cxx index 0b9b183..3c69c50 100644 --- a/Source/cmExportInstallFileGenerator.cxx +++ b/Source/cmExportInstallFileGenerator.cxx @@ -290,6 +290,7 @@ bool cmExportInstallFileGenerator::GenerateImportFileConfig( cmSystemTools::Error(e.str()); return false; } + exportFileStream.SetCopyIfDifferent(true); std::ostream& os = exportFileStream; // Start with the import file header. |