summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/QCMake.cxx
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2007-11-07 04:00:23 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2007-11-07 04:00:23 (GMT)
commit00cfa0ebed42b7daf2acbfe3297c5f630b570d4e (patch)
tree28c4d221f1f426689cd82848cf2e9bbd7896207b /Source/QtDialog/QCMake.cxx
parent768680f4d572bfa6eae37a0793dbda6eee0d146a (diff)
downloadCMake-00cfa0ebed42b7daf2acbfe3297c5f630b570d4e.zip
CMake-00cfa0ebed42b7daf2acbfe3297c5f630b570d4e.tar.gz
CMake-00cfa0ebed42b7daf2acbfe3297c5f630b570d4e.tar.bz2
ENH: For Mac OSX -- add app icon, and implement find of cmake executable.
Diffstat (limited to 'Source/QtDialog/QCMake.cxx')
-rw-r--r--Source/QtDialog/QCMake.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/QtDialog/QCMake.cxx b/Source/QtDialog/QCMake.cxx
index e826527..0621aaf 100644
--- a/Source/QtDialog/QCMake.cxx
+++ b/Source/QtDialog/QCMake.cxx
@@ -35,7 +35,8 @@ QCMake::QCMake(QObject* p)
#if defined(Q_OS_WIN)
this->CMakeExecutable = appDir.filePath("cmake.exe");
#elif defined(Q_OS_MAC)
-# error "need to implement for Mac OS X"
+ appDir.cd("../../../"); // path to cmake in build directory (need to fix for deployment)
+ this->CMakeExecutable = appDir.filePath("cmake");
#else
this->CMakeExecutable = appDir.filePath("cmake");
#endif