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
Alex Ghosh
CMake
Commits
f50cf4f6
Commit
f50cf4f6
authored
Jun 12, 2009
by
Ken Martin
Browse files
ENH: warning fix
parent
e02d66e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmIfCommand.cxx
View file @
f50cf4f6
...
...
@@ -83,10 +83,10 @@ IsFunctionBlocked(const cmListFileFunction& lff,
mf
.
ExpandArguments
(
this
->
Functions
[
c
].
Arguments
,
expandedArguments
);
cmake
::
MessageType
status
;
cmake
::
MessageType
messType
;
bool
isTrue
=
cmIfCommand
::
IsTrue
(
expandedArguments
,
errorString
,
&
mf
,
status
);
&
mf
,
messType
);
if
(
errorString
.
size
())
{
...
...
@@ -102,8 +102,8 @@ IsFunctionBlocked(const cmListFileFunction& lff,
err
+=
"("
;
err
+=
errorString
;
err
+=
")."
;
mf
.
IssueMessage
(
status
,
err
);
if
(
status
==
cmake
::
FATAL_ERROR
)
mf
.
IssueMessage
(
messType
,
err
);
if
(
messType
==
cmake
::
FATAL_ERROR
)
{
cmSystemTools
::
SetFatalErrorOccured
();
return
true
;
...
...
Write
Preview
Markdown
is supported
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