summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-01-23 20:11:24 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-01-23 20:11:24 (GMT)
commita37b0e3ebfb7f607ff29c7c4946b2c003c7a7bf9 (patch)
tree38ce80e0317d72dca99fa713397e3e0c26dc5eeb /Source/cmTarget.cxx
parentbf2e4e8cb1696a8da626483217ec73ab2b20811d (diff)
parente3b5eb6b23e5d2b6034e1c13716abb73ab6b3397 (diff)
downloadCMake-a37b0e3ebfb7f607ff29c7c4946b2c003c7a7bf9.zip
CMake-a37b0e3ebfb7f607ff29c7c4946b2c003c7a7bf9.tar.gz
CMake-a37b0e3ebfb7f607ff29c7c4946b2c003c7a7bf9.tar.bz2
Merge topic 'qt4-autolink-qtmain'
e3b5eb6 Automatically link to the qtmain library when linking to QtCore. 6c8d8af Add the $<TARGET_POLICY> expression
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 2600db5..19e59d7 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -145,6 +145,7 @@ cmTarget::cmTarget()
this->PolicyStatusCMP0003 = cmPolicies::WARN;
this->PolicyStatusCMP0004 = cmPolicies::WARN;
this->PolicyStatusCMP0008 = cmPolicies::WARN;
+ this->PolicyStatusCMP0020 = cmPolicies::WARN;
this->LinkLibrariesAnalyzed = false;
this->HaveInstallRule = false;
this->DLLPlatform = false;
@@ -1499,6 +1500,8 @@ void cmTarget::SetMakefile(cmMakefile* mf)
this->Makefile->GetPolicyStatus(cmPolicies::CMP0004);
this->PolicyStatusCMP0008 =
this->Makefile->GetPolicyStatus(cmPolicies::CMP0008);
+ this->PolicyStatusCMP0020 =
+ this->Makefile->GetPolicyStatus(cmPolicies::CMP0020);
}
//----------------------------------------------------------------------------