Commit 6c828f91 authored by Stephen Kelly's avatar Stephen Kelly Committed by Brad King
Browse files

Move the exported check for file existence.

Check only once, in the Config.cmake file, instead of once in each
Config-<cfg>.cmake file.
parent cfd4f0a4
......@@ -104,6 +104,8 @@ bool cmExportInstallFileGenerator::GenerateMainFile(std::ostream& os)
<< "ENDFOREACH(f)\n"
<< "\n";
// Generate an import file for each configuration.
bool result = true;
......@@ -249,8 +251,6 @@ cmExportInstallFileGenerator
// Cleanup the import prefix variable.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment