diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-02-15 17:12:48 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-02-15 17:12:48 (GMT) |
commit | a1dbf38c30adf6c50060aa288547c41f2e36f62b (patch) | |
tree | 15da144a84a18cca86a980db3935312c3eb954cf /Source/QtDialog/QCMake.cxx | |
parent | 342a32a2c0b713405a3aec05c484960e60f665db (diff) | |
download | CMake-a1dbf38c30adf6c50060aa288547c41f2e36f62b.zip CMake-a1dbf38c30adf6c50060aa288547c41f2e36f62b.tar.gz CMake-a1dbf38c30adf6c50060aa288547c41f2e36f62b.tar.bz2 |
ENH: use package name on mac for edit cache
Diffstat (limited to 'Source/QtDialog/QCMake.cxx')
-rw-r--r-- | Source/QtDialog/QCMake.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMake.cxx b/Source/QtDialog/QCMake.cxx index 020bdb8..f3500f8 100644 --- a/Source/QtDialog/QCMake.cxx +++ b/Source/QtDialog/QCMake.cxx @@ -52,7 +52,11 @@ QCMake::QCMake(QObject* p) this->CMakeInstance = new cmake; this->CMakeInstance->SetCMakeCommand(cmakeCommand.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"); +#endif this->CMakeInstance->SetProgressCallback(QCMake::progressCallback, this); std::vector<std::string> generators; |