Merge topic 'cmake-gui-osx-install-mkdir'

32d569af cmake-gui: Teach --install make destination directory (#16064)
This commit is contained in:
Brad King 2016-04-18 08:57:27 -04:00 committed by CMake Topic Stage
commit 0f6a8f7a46

View File

@ -217,6 +217,7 @@ static bool cmOSXInstall(std::string const& dir, std::string const& tool)
return true;
}
}
cmSystemTools::MakeDirectory(dir);
if (symlink(tool.c_str(), link.c_str()) == 0)
{
std::cerr << "Linked: '" << link << "' -> '" << tool << "'\n";