summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionEvaluator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-02-07 12:13:44 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-02-07 15:21:09 (GMT)
commit1fb545ad3a8f6d263c9f01300bce978e81b6fe8c (patch)
tree7198441143f48dd813f085aca278417305582b60 /Source/cmGeneratorExpressionEvaluator.cxx
parent57175d559ee2bdd56c360a3b45aacf13b15b9270 (diff)
downloadCMake-1fb545ad3a8f6d263c9f01300bce978e81b6fe8c.zip
CMake-1fb545ad3a8f6d263c9f01300bce978e81b6fe8c.tar.gz
CMake-1fb545ad3a8f6d263c9f01300bce978e81b6fe8c.tar.bz2
Move a special case for PIC from the genex to the cmTarget code.
Diffstat (limited to 'Source/cmGeneratorExpressionEvaluator.cxx')
-rw-r--r--Source/cmGeneratorExpressionEvaluator.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/cmGeneratorExpressionEvaluator.cxx b/Source/cmGeneratorExpressionEvaluator.cxx
index 0ac1e76..f601ea3 100644
--- a/Source/cmGeneratorExpressionEvaluator.cxx
+++ b/Source/cmGeneratorExpressionEvaluator.cxx
@@ -460,12 +460,6 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode
{
return std::string();
}
- if (propertyName == "POSITION_INDEPENDENT_CODE")
- {
- context->HadContextSensitiveCondition = true;
- return target->GetLinkInterfaceDependentBoolProperty(
- "POSITION_INDEPENDENT_CODE", context->Config) ? "1" : "0";
- }
if (target->IsLinkInterfaceDependentBoolProperty(propertyName,
context->Config))
{