An update will be applied January 25th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

Commit 04657ee2 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'install-export-root-prefix'

290e4ce8 install: Fix computed import prefix in export files when it is "/"
parents 4c674eba 290e4ce8
......@@ -122,7 +122,10 @@ bool cmExportInstallFileGenerator::GenerateMainFile(std::ostream& os)
dest = cmSystemTools::GetFilenamePath(dest);
os << "\n";
os << "if(_IMPORT_PREFIX STREQUAL \"/\")\n"
<< " set(_IMPORT_PREFIX \"\")\n"
<< "endif()\n"
<< "\n";
std::vector<std::string> missingTargets;
Markdown is supported
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