summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.cxx
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2015-04-29 13:09:24 (GMT)
committerBrad King <brad.king@kitware.com>2015-04-30 14:20:20 (GMT)
commit32a2f41402d38e1c5be3547bd042328df0b28124 (patch)
tree9991861d5cc2a0966ad3ac1976a3c3d73081b463 /Source/cmPolicies.cxx
parentd1a74bba1bba0c4381e7c3a6a93551320dc377ac (diff)
downloadCMake-32a2f41402d38e1c5be3547bd042328df0b28124.zip
CMake-32a2f41402d38e1c5be3547bd042328df0b28124.tar.gz
CMake-32a2f41402d38e1c5be3547bd042328df0b28124.tar.bz2
Revert "add_custom_command: Diagnose MAIN_DEPENDENCY limitation."
This reverts commit 242c3966 (add_custom_command: Diagnose MAIN_DEPENDENCY limitation, 2015-03-09) and the follow up commit b372a99a (UseSWIG: Do not use MAIN_DEPENDENCY on custom commands, 2015-03-26). I misdiagnosed the underlying issue that prompted creation of policy CMP0057. The actual issue surfaces when a single custom command's MAIN_DEPENDENCY is listed in more than one target; this issue will have to be addressed independently.
Diffstat (limited to 'Source/cmPolicies.cxx')
-rw-r--r--Source/cmPolicies.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/cmPolicies.cxx b/Source/cmPolicies.cxx
index e7678cb..ab60f93 100644
--- a/Source/cmPolicies.cxx
+++ b/Source/cmPolicies.cxx
@@ -377,11 +377,6 @@ cmPolicies::cmPolicies()
3,2,0, cmPolicies::WARN);
this->DefinePolicy(
- CMP0057, "CMP0057",
- "Disallow multiple MAIN_DEPENDENCY specifications for the same file.",
- 3,3,0, cmPolicies::WARN);
-
- this->DefinePolicy(
CMP0058, "CMP0058",
"Ninja requires custom command byproducts to be explicit.",
3,3,0, cmPolicies::WARN);