summaryrefslogtreecommitdiffstats
path: root/Source/cmCMakeMinimumRequired.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2008-03-04 19:51:25 (GMT)
committerKen Martin <ken.martin@kitware.com>2008-03-04 19:51:25 (GMT)
commitcd4d2acbe654ca57a9ffc7ca34dcf4835bfc77c3 (patch)
treeae821b4f8be77edad7ecb3a009d01d5f2f7bcda5 /Source/cmCMakeMinimumRequired.cxx
parent96ee85d1972ee54745637037a2d4dc1b1e7b885d (diff)
downloadCMake-cd4d2acbe654ca57a9ffc7ca34dcf4835bfc77c3.zip
CMake-cd4d2acbe654ca57a9ffc7ca34dcf4835bfc77c3.tar.gz
CMake-cd4d2acbe654ca57a9ffc7ca34dcf4835bfc77c3.tar.bz2
ENH: more policy changes
Diffstat (limited to 'Source/cmCMakeMinimumRequired.cxx')
-rw-r--r--Source/cmCMakeMinimumRequired.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmCMakeMinimumRequired.cxx b/Source/cmCMakeMinimumRequired.cxx
index 9a1417f..f20c06b 100644
--- a/Source/cmCMakeMinimumRequired.cxx
+++ b/Source/cmCMakeMinimumRequired.cxx
@@ -121,6 +121,9 @@ bool cmCMakeMinimumRequired
}
}
+ // set the policy version as well
+ this->Makefile->SetPolicyVersion(version_string.c_str());
+
return true;
}