summaryrefslogtreecommitdiff
path: root/Source/cmLinkDirectoriesCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmLinkDirectoriesCommand.h')
-rw-r--r--Source/cmLinkDirectoriesCommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLinkDirectoriesCommand.h b/Source/cmLinkDirectoriesCommand.h
index c6eb40ce59..8e04bafcda 100644
--- a/Source/cmLinkDirectoriesCommand.h
+++ b/Source/cmLinkDirectoriesCommand.h
@@ -43,7 +43,7 @@ public:
/**
* The name of the command as specified in CMakeList.txt.
*/
- virtual const char* GetName() const { return "link_directories";}
+ virtual std::string GetName() const { return "link_directories";}
cmTypeMacro(cmLinkDirectoriesCommand, cmCommand);
private: