[cmake-commits] hoffman committed QCMake.cxx 1.17 1.18

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Feb 15 12:12:51 EST 2008


Update of /cvsroot/CMake/CMake/Source/QtDialog
In directory public:/mounts/ram/cvs-serv2355

Modified Files:
	QCMake.cxx 
Log Message:
ENH: use package name on mac for edit cache


Index: QCMake.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/QtDialog/QCMake.cxx,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- QCMake.cxx	14 Feb 2008 23:18:10 -0000	1.17
+++ QCMake.cxx	15 Feb 2008 17:12:48 -0000	1.18
@@ -52,7 +52,11 @@
   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;



More information about the Cmake-commits mailing list