Commit 41477d5c authored by Brad King's avatar Brad King 💬
Browse files

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.
parent f3946ba5
...@@ -91,16 +91,6 @@ int main(int argc, char** argv) ...@@ -91,16 +91,6 @@ int main(int argc, char** argv)
QApplication::removeLibraryPath(p); 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 // tell the cmake library where cmake is
QDir cmExecDir(QApplication::applicationDirPath()); QDir cmExecDir(QApplication::applicationDirPath());
#if defined(Q_OS_MAC) #if defined(Q_OS_MAC)
......
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