From 41477d5c0705baa33878c16e979283088efe2c4a Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 19 May 2015 09:38:26 -0400 Subject: [PATCH] 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. --- Source/QtDialog/CMakeSetup.cxx | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Source/QtDialog/CMakeSetup.cxx b/Source/QtDialog/CMakeSetup.cxx index 8a72a2479..cf1729c69 100644 --- a/Source/QtDialog/CMakeSetup.cxx +++ b/Source/QtDialog/CMakeSetup.cxx @@ -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)