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:
parent
f3946ba547
commit
41477d5c07
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue