summaryrefslogtreecommitdiffstats
path: root/Tests/LoadCommand
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LoadCommand')
-rw-r--r--Tests/LoadCommand/CMakeCommands/cmTestCommand.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/Tests/LoadCommand/CMakeCommands/cmTestCommand.c b/Tests/LoadCommand/CMakeCommands/cmTestCommand.c
index b10d599..a31e14a 100644
--- a/Tests/LoadCommand/CMakeCommands/cmTestCommand.c
+++ b/Tests/LoadCommand/CMakeCommands/cmTestCommand.c
@@ -54,11 +54,6 @@ void Destructor(void *inf)
free(cdata);
}
-CM_PLUGIN_EXPORT const char *cmGetName()
-{
- return "CMAKE_TEST_COMMAND";
-}
-
#ifdef MUCHO_MUDSLIDE
void CM_PLUGIN_EXPORT cmInitializeCommand(cmLoadedCommandInfo *info)
{
@@ -66,6 +61,7 @@ void CM_PLUGIN_EXPORT cmInitializeCommand(cmLoadedCommandInfo *info)
info->FinalPass = FinalPass;
info->Destructor = Destructor;
info->m_Inherited = 0;
+ info->Name = "CMAKE_TEST_COMMAND";
}
#endif