diff options
author | Brad King <brad.king@kitware.com> | 2007-05-16 17:24:17 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-05-16 17:24:17 (GMT) |
commit | 142210997f803cd64f93795980dbf6dd38182697 (patch) | |
tree | f861c88b1df5be1ce8fcf03ee9793c8ff4ce78e3 /Source/cmLocalUnixMakefileGenerator3.cxx | |
parent | 01c7db07c3826c05c658a370cd0d42bf3128fcff (diff) | |
download | CMake-142210997f803cd64f93795980dbf6dd38182697.zip CMake-142210997f803cd64f93795980dbf6dd38182697.tar.gz CMake-142210997f803cd64f93795980dbf6dd38182697.tar.bz2 |
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 5370750..3d89366 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. |