diff options
author | Brad King <brad.king@kitware.com> | 2007-05-16 13:24:17 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-05-16 13:24:17 -0400 |
commit | 142210997f803cd64f93795980dbf6dd38182697 (patch) | |
tree | f861c88b1df5be1ce8fcf03ee9793c8ff4ce78e3 /Source/cmLocalUnixMakefileGenerator3.cxx | |
parent | 01c7db07c3826c05c658a370cd0d42bf3128fcff (diff) | |
download | cmake-142210997f803cd64f93795980dbf6dd38182697.tar.gz |
BUG: Watcom WMake needs empty rule commands even for symbolic targets. This fixes the cmake_force target.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 53707505e4..3d893662cb 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -714,6 +714,11 @@ cmLocalUnixMakefileGenerator3 { no_depends.push_back(hack); } + std::string hack_cmd = gg->GetEmptyRuleHackCommand(); + if(!hack_cmd.empty()) + { + no_commands.push_back(hack_cmd); + } // Special symbolic target that never exists to force dependers to // run their rules. |