cmake-gui: Drop undocumented and unused --mac-install option

This option was once used by our OS X package installer to create
symlinks at install time.  Since switching to the DragNDrop installer
we no longer use this option.
This commit is contained in:
Brad King 2015-05-19 09:38:26 -04:00
parent f3946ba547
commit 41477d5c07
1 changed files with 0 additions and 10 deletions

View File

@ -91,16 +91,6 @@ int main(int argc, char** argv)
QApplication::removeLibraryPath(p);
}
// if arg for install
for(int i =0; i < argc2; i++)
{
if(strcmp(argv2[i], "--mac-install") == 0)
{
QMacInstallDialog setupdialog(0);
setupdialog.exec();
return 0;
}
}
// tell the cmake library where cmake is
QDir cmExecDir(QApplication::applicationDirPath());
#if defined(Q_OS_MAC)