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
Brad King
CMake
Commits
61d138ae
Commit
61d138ae
authored
Dec 30, 2013
by
Stephen Kelly
Browse files
cmTarget: INTERFACE_LIBRARY is always EXCLUDE_FROM_ALL.
parent
3429541e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmGlobalGenerator.cxx
View file @
61d138ae
...
...
@@ -1908,7 +1908,8 @@ bool cmGlobalGenerator::IsExcluded(cmLocalGenerator* root,
bool
cmGlobalGenerator
::
IsExcluded
(
cmLocalGenerator
*
root
,
cmTarget
&
target
)
{
if
(
target
.
GetPropertyAsBool
(
"EXCLUDE_FROM_ALL"
))
if
(
target
.
GetType
()
==
cmTarget
::
INTERFACE_LIBRARY
||
target
.
GetPropertyAsBool
(
"EXCLUDE_FROM_ALL"
))
{
// This target is excluded from its directory.
return
true
;
...
...
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