mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 14:48:19 -05:00
BUG: Fix for cmake_force target in Borland Makefiles.
This commit is contained in:
@@ -743,6 +743,16 @@ cmLocalUnixMakefileGenerator3
|
||||
no_commands, false);
|
||||
}
|
||||
|
||||
// Work-around for makes that drop rules that have no dependencies
|
||||
// or commands.
|
||||
cmGlobalUnixMakefileGenerator3* gg =
|
||||
static_cast<cmGlobalUnixMakefileGenerator3*>(this->GlobalGenerator);
|
||||
std::string hack = gg->GetEmptyRuleHackDepends();
|
||||
if(!hack.empty())
|
||||
{
|
||||
no_depends.push_back(hack);
|
||||
}
|
||||
|
||||
// Special symbolic target that never exists to force dependers to
|
||||
// run their rules.
|
||||
this->WriteMakeRule
|
||||
|
||||
Reference in New Issue
Block a user