diff options
-rw-r--r-- | Source/cmMakefile.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 81b4b33..ac48b82 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -390,6 +390,7 @@ void cmMakefile::AddCommand(cmCommand* wg) { std::string name = wg->GetName(); m_Commands.insert( RegisteredCommandsMap::value_type(name, wg)); + this->AddDefinition(name.c_str(), true); } // Set the make file |