summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-02 14:54:23 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-11-02 14:54:23 (GMT)
commit872a9d64767674501ec3677066b8bea07e8fc318 (patch)
treeb14bc4af6922c96304819aa85698558b271c549a /Source
parent53ac9b8d86daeff15a446fe14a9ed3dd6981fa3e (diff)
parentd9605897788d800e892de0d201a305046510d089 (diff)
downloadCMake-872a9d64767674501ec3677066b8bea07e8fc318.zip
CMake-872a9d64767674501ec3677066b8bea07e8fc318.tar.gz
CMake-872a9d64767674501ec3677066b8bea07e8fc318.tar.bz2
Merge topic 'object-library-no-TARGET_FILE'
d960589 Genex: Reject $<TARGET_FILE:...> for object libraries (#14532)
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGeneratorExpressionEvaluator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratorExpressionEvaluator.cxx b/Source/cmGeneratorExpressionEvaluator.cxx
index 5374451..107ef73 100644
--- a/Source/cmGeneratorExpressionEvaluator.cxx
+++ b/Source/cmGeneratorExpressionEvaluator.cxx
@@ -1341,7 +1341,7 @@ struct TargetFilesystemArtifact : public cmGeneratorExpressionNode
"No target \"" + name + "\"");
return std::string();
}
- if(target->GetType() >= cmTarget::UTILITY &&
+ if(target->GetType() >= cmTarget::OBJECT_LIBRARY &&
target->GetType() != cmTarget::UNKNOWN_LIBRARY)
{
::reportError(context, content->GetOriginalExpression(),