diff options
author | Brad King <brad.king@kitware.com> | 2013-10-21 15:50:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-22 13:09:52 (GMT) |
commit | 178b9af18674b23be97758236c676c9bd9398c40 (patch) | |
tree | 657c6451d32cc4893b601214066d17512c9a62e9 /Source/cmPolicies.cxx | |
parent | 248d1dc057564dc00e3374d7797a1e42ea57032d (diff) | |
download | CMake-178b9af18674b23be97758236c676c9bd9398c40.zip CMake-178b9af18674b23be97758236c676c9bd9398c40.tar.gz CMake-178b9af18674b23be97758236c676c9bd9398c40.tar.bz2 |
Add policy CMP0034 to disallow utility_source
Diffstat (limited to 'Source/cmPolicies.cxx')
-rw-r--r-- | Source/cmPolicies.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmPolicies.cxx b/Source/cmPolicies.cxx index 7852d9a..f830806 100644 --- a/Source/cmPolicies.cxx +++ b/Source/cmPolicies.cxx @@ -271,6 +271,11 @@ cmPolicies::cmPolicies() CMP0033, "CMP0033", "The export_library_dependencies command should not be called.", 3,0,0,0, cmPolicies::WARN); + + this->DefinePolicy( + CMP0034, "CMP0034", + "The utility_source command should not be called.", + 3,0,0,0, cmPolicies::WARN); } cmPolicies::~cmPolicies() |