summaryrefslogtreecommitdiffstats
path: root/Source/cmLoadCommandCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-02-14 13:30:33 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2017-02-14 13:30:33 (GMT)
commitdc58d9f06d921e3e5d03b9adf9a4d9ec5359d9ba (patch)
tree5b7a164024020071ef44c7e9756dcfa25490fd9c /Source/cmLoadCommandCommand.cxx
parentb7d8d80a62d2e2c31863efedd41945c2e9db9bcf (diff)
parente0f3931226d6f947572bce7a4b98c55812bba105 (diff)
downloadCMake-dc58d9f06d921e3e5d03b9adf9a4d9ec5359d9ba.zip
CMake-dc58d9f06d921e3e5d03b9adf9a4d9ec5359d9ba.tar.gz
CMake-dc58d9f06d921e3e5d03b9adf9a4d9ec5359d9ba.tar.bz2
Merge topic 'command-cleanup'
e0f39312 cmCommands: add commands directly to cmState 72dcbbe5 split Default commands into Scripting and Project 7fb14775 cmDisallowedCommand: extract policy checking from cmCommand 615e2a17 cmCommand: Don't prefix error message with command name 45b49099 cmCommand: make noncopyable 5396bc92 cmCommand: remove member Helper
Diffstat (limited to 'Source/cmLoadCommandCommand.cxx')
-rw-r--r--Source/cmLoadCommandCommand.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/cmLoadCommandCommand.cxx b/Source/cmLoadCommandCommand.cxx
index b6743f1..39e5684 100644
--- a/Source/cmLoadCommandCommand.cxx
+++ b/Source/cmLoadCommandCommand.cxx
@@ -174,11 +174,6 @@ cmLoadedCommand::~cmLoadedCommand()
bool cmLoadCommandCommand::InitialPass(std::vector<std::string> const& args,
cmExecutionStatus&)
{
- if (this->Disallowed(
- cmPolicies::CMP0031,
- "The load_command command should not be called; see CMP0031.")) {
- return true;
- }
if (args.empty()) {
return true;
}