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,9 +64,14 @@ static const char * cmDocumentationOptions[][3] =
int main(int argc, char** argv)
QApplication app(argc, argv);
QDir cmExecDir(QApplication::applicationDirPath());
#if defined(Q_OS_MAC)"../../../");
QTranslator translator;
QString transfile = QString("cmake_%1").arg(QLocale::system().name());
translator.load(transfile, app.applicationDirPath());
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