diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-02-12 10:53:36 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-02-13 14:12:31 (GMT) |
commit | 567c8d103ed3c3cb7303877d89e8508dd3f8d0ca (patch) | |
tree | 9cf5726f5d2bd20e36ef5db6b42acc9d3b8da6ea /Source | |
parent | a1c4905f723f9d99bd481580f9fe24fdaf81b174 (diff) | |
download | CMake-567c8d103ed3c3cb7303877d89e8508dd3f8d0ca.zip CMake-567c8d103ed3c3cb7303877d89e8508dd3f8d0ca.tar.gz CMake-567c8d103ed3c3cb7303877d89e8508dd3f8d0ca.tar.bz2 |
Revert "Don't allow utility or global targets in the LINKED expression."
This reverts commit 9712362b4580fb92394ecf8ff57be186571f4319.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGeneratorExpressionEvaluator.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/cmGeneratorExpressionEvaluator.cxx b/Source/cmGeneratorExpressionEvaluator.cxx index 6c1c12a..eb8cdc8 100644 --- a/Source/cmGeneratorExpressionEvaluator.cxx +++ b/Source/cmGeneratorExpressionEvaluator.cxx @@ -759,14 +759,6 @@ private: { return std::string(); } - if(target->GetType() >= cmTarget::UTILITY && - target->GetType() != cmTarget::UNKNOWN_LIBRARY) - { - ::reportError(context, content->GetOriginalExpression(), - "Target \"" + item - + "\" is not an executable or library."); - return std::string(); - } std::string propertyName = "INTERFACE_" + prop; const char *propContent = target->GetProperty(propertyName.c_str()); if (!propContent) |