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
6d98b15f
Commit
6d98b15f
authored
Oct 07, 2016
by
Stephen Kelly
Browse files
cmMakefile: Invert if() condition to remove else
parent
869037ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmMakefile.cxx
View file @
6d98b15f
...
...
@@ -1249,13 +1249,13 @@ void cmMakefile::AddLinkDirectoryForTarget(const std::string& target,
const
std
::
string
&
d
)
{
cmTargets
::
iterator
i
=
this
->
Targets
.
find
(
target
);
if
(
i
!=
this
->
Targets
.
end
())
{
i
->
second
.
AddLinkDirectory
(
d
);
}
else
{
if
(
i
==
this
->
Targets
.
end
())
{
cmSystemTools
::
Error
(
"Attempt to add link directories to non-existent target: "
,
target
.
c_str
(),
" for directory "
,
d
.
c_str
());
return
;
}
i
->
second
.
AddLinkDirectory
(
d
);
}
void
cmMakefile
::
InitializeFromParent
(
cmMakefile
*
parent
)
...
...
Brad King
@brad.king
Mentioned in commit
1e6aaefd
·
Oct 10, 2016
Mentioned in commit
1e6aaefd
Mentioned in commit 1e6aaefdeebbf09eaf7fa0e9dbc6a7faa2f9132a
Toggle commit list
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