浏览代码

BUG: remove depend on directory because it is not supported by all makes

Bill Hoffman 24 年之前
父节点
当前提交
caa49f2a1e
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      Source/cmAuxSourceDirectoryCommand.cxx

+ 0 - 4
Source/cmAuxSourceDirectoryCommand.cxx

@@ -31,10 +31,6 @@ bool cmAuxSourceDirectoryCommand::InitialPass(std::vector<std::string> const& ar
   std::string tdir = m_Makefile->GetCurrentDirectory();
   tdir += "/";
   tdir += templateDirectory;
-  // The Makefile should be dependent on the directory's last mod date,
-  // so that if a file is added or removed from the directory, it will
-  // be rescanned, and the makefile rebuilt.
-  m_Makefile->AddCMakeDependFile(tdir.c_str());
   // Load all the files in the directory
   cmDirectory dir;
   if(dir.Load(tdir.c_str()))