Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CMake
CMake
Commits
e4048118
Commit
e4048118
authored
Jan 18, 2009
by
Bill Hoffman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG: fix crash with empty properties
parent
97b2bc3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
Source/cmMakefile.cxx
Source/cmMakefile.cxx
+8
-2
No files found.
Source/cmMakefile.cxx
View file @
e4048118
...
...
@@ -2915,7 +2915,10 @@ void cmMakefile::SetProperty(const char* prop, const char* value)
if
(
propname
==
"INCLUDE_DIRECTORIES"
)
{
std
::
vector
<
std
::
string
>
varArgsExpanded
;
cmSystemTools
::
ExpandListArgument
(
value
,
varArgsExpanded
);
if
(
value
)
{
cmSystemTools
::
ExpandListArgument
(
value
,
varArgsExpanded
);
}
this
->
SetIncludeDirectories
(
varArgsExpanded
);
return
;
}
...
...
@@ -2923,7 +2926,10 @@ void cmMakefile::SetProperty(const char* prop, const char* value)
if
(
propname
==
"LINK_DIRECTORIES"
)
{
std
::
vector
<
std
::
string
>
varArgsExpanded
;
cmSystemTools
::
ExpandListArgument
(
value
,
varArgsExpanded
);
if
(
value
)
{
cmSystemTools
::
ExpandListArgument
(
value
,
varArgsExpanded
);
}
this
->
SetLinkDirectories
(
varArgsExpanded
);
return
;
}
...
...
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