BUG: Do not make a file depend on a virtual target. That causes everything to always rebuild.
This commit is contained in:
parent
6179a0a455
commit
122ef73e3a
|
@ -602,14 +602,6 @@ cmLocalUnixMakefileGenerator3
|
|||
flags.c_str());
|
||||
}
|
||||
|
||||
// Add dependencies known at CMake time.
|
||||
std::string relativeObjDeps = relativeObj;
|
||||
relativeObjDeps += "/depend";
|
||||
this->WriteMakeRule(ruleFileStream, 0,
|
||||
relativeObjDeps.c_str(), depends, no_commands);
|
||||
depends.clear();
|
||||
depends.push_back(relativeObjDeps);
|
||||
|
||||
// Make the target dependency scanning rule include cmake-time-known
|
||||
// dependencies. The others are handled by the check-build-system
|
||||
// path.
|
||||
|
|
Loading…
Reference in New Issue