diff options
author | Brad King <brad.king@kitware.com> | 2013-11-02 14:54:23 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-11-02 14:54:23 (GMT) |
commit | 872a9d64767674501ec3677066b8bea07e8fc318 (patch) | |
tree | b14bc4af6922c96304819aa85698558b271c549a /Source | |
parent | 53ac9b8d86daeff15a446fe14a9ed3dd6981fa3e (diff) | |
parent | d9605897788d800e892de0d201a305046510d089 (diff) | |
download | CMake-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.cxx | 2 |
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(), |