summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-19 23:05:42 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-20 22:52:23 (GMT)
commitd74bca5a8fee1d45c60b60a70a2a1a90abb74180 (patch)
tree434a3715b2c767d76eabb0a666b1f900c8ec953f /Source/cmGeneratorTarget.cxx
parentc6e86955086e1824cd666bc69c802d48074cc138 (diff)
downloadCMake-d74bca5a8fee1d45c60b60a70a2a1a90abb74180.zip
CMake-d74bca5a8fee1d45c60b60a70a2a1a90abb74180.tar.gz
CMake-d74bca5a8fee1d45c60b60a70a2a1a90abb74180.tar.bz2
cmGeneratorTarget: Copy the policy map from the cmTarget.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 2a35259..fc5c049 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -308,6 +308,8 @@ cmGeneratorTarget::cmGeneratorTarget(cmTarget* t, cmLocalGenerator* lg)
this->DLLPlatform = (this->Makefile->IsOn("WIN32") ||
this->Makefile->IsOn("CYGWIN") ||
this->Makefile->IsOn("MINGW"));
+
+ this->PolicyMap = t->PolicyMap;
}
cmGeneratorTarget::~cmGeneratorTarget()