ENH: use package name on mac for edit cache

This commit is contained in:
Bill Hoffman 2008-02-15 12:12:48 -05:00
parent 342a32a2c0
commit a1dbf38c30
1 changed files with 4 additions and 0 deletions

View File

@ -52,7 +52,11 @@ QCMake::QCMake(QObject* p)
this->CMakeInstance = new cmake; this->CMakeInstance = new cmake;
this->CMakeInstance->SetCMakeCommand(cmakeCommand.toAscii().data()); this->CMakeInstance->SetCMakeCommand(cmakeCommand.toAscii().data());
//this->CMakeInstance->SetCMakeEditCommand(cmakeGUICommand.toAscii().data()); //this->CMakeInstance->SetCMakeEditCommand(cmakeGUICommand.toAscii().data());
#if defined(Q_OS_MAC)
this->CMakeInstance->SetCMakeEditCommand("cmake-gui.app/Contents/MacOS/cmake-gui");
#else
this->CMakeInstance->SetCMakeEditCommand("cmake-gui"); this->CMakeInstance->SetCMakeEditCommand("cmake-gui");
#endif
this->CMakeInstance->SetProgressCallback(QCMake::progressCallback, this); this->CMakeInstance->SetProgressCallback(QCMake::progressCallback, this);
std::vector<std::string> generators; std::vector<std::string> generators;