Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
0cb622a2
Commit
0cb622a2
authored
Feb 06, 2008
by
Clinton Stimpson
Browse files
BUG: On Mac OS X, give the CMake library the correct path to the cmake
exectuables. Fixes
#6286
.
parent
9e64d5b2
Changes
1
Show whitespace changes
Inline
Side-by-side
Source/QtDialog/CMakeSetup.cxx
View file @
0cb622a2
...
...
@@ -64,9 +64,14 @@ static const char * cmDocumentationOptions[][3] =
int
main
(
int
argc
,
char
**
argv
)
{
cmSystemTools
::
FindExecutableDirectory
(
argv
[
0
]);
QApplication
app
(
argc
,
argv
);
QDir
cmExecDir
(
QApplication
::
applicationDirPath
());
#if defined(Q_OS_MAC)
cmExecDir
.
cd
(
"../../../"
);
#endif
cmSystemTools
::
FindExecutableDirectory
(
cmExecDir
.
filePath
(
"cmake"
).
toAscii
().
data
());
QTranslator
translator
;
QString
transfile
=
QString
(
"cmake_%1"
).
arg
(
QLocale
::
system
().
name
());
translator
.
load
(
transfile
,
app
.
applicationDirPath
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment