Commit 0cb622a2 authored by Clinton Stimpson's avatar Clinton Stimpson
Browse files

BUG: On Mac OS X, give the CMake library the correct path to the cmake

      exectuables.  Fixes #6286.
parent 9e64d5b2
...@@ -64,8 +64,13 @@ static const char * cmDocumentationOptions[][3] = ...@@ -64,8 +64,13 @@ static const char * cmDocumentationOptions[][3] =
int main(int argc, char** argv) int main(int argc, char** argv)
{ {
QApplication app(argc, argv); QApplication app(argc, argv);
QDir cmExecDir(QApplication::applicationDirPath());
#if defined(Q_OS_MAC)"../../../");
QTranslator translator; QTranslator translator;
QString transfile = QString("cmake_%1").arg(QLocale::system().name()); QString transfile = QString("cmake_%1").arg(QLocale::system().name());
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment