diff options
Diffstat (limited to 'Source/cmSubdirDependsCommand.cxx')
-rw-r--r-- | Source/cmSubdirDependsCommand.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Source/cmSubdirDependsCommand.cxx b/Source/cmSubdirDependsCommand.cxx index 9d92da4..3fbcc55 100644 --- a/Source/cmSubdirDependsCommand.cxx +++ b/Source/cmSubdirDependsCommand.cxx @@ -43,18 +43,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // cmSubdirDependsCommand bool cmSubdirDependsCommand::InitialPass(std::vector<std::string> const& args) { - if(args.size() < 2) - { - this->SetError("called with incorrect number of arguments"); - return false; - } - std::vector<std::string>::const_iterator i = args.begin(); - std::string subdir = *i; - - for(++i; i != args.end(); ++i) - { - m_Makefile->AddSubdirDependency(subdir.c_str(), i->c_str()); - } return true; } |