summaryrefslogtreecommitdiffstats
path: root/Source/cmLinkLibrariesCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmLinkLibrariesCommand.h')
-rw-r--r--Source/cmLinkLibrariesCommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLinkLibrariesCommand.h b/Source/cmLinkLibrariesCommand.h
index 74de23c..c572439 100644
--- a/Source/cmLinkLibrariesCommand.h
+++ b/Source/cmLinkLibrariesCommand.h
@@ -42,7 +42,7 @@ public:
/**
* The name of the command as specified in CMakeList.txt.
*/
- virtual const char* GetName() const { return "link_libraries";}
+ virtual std::string GetName() const { return "link_libraries";}
/** This command is kept for compatibility with older CMake versions. */
virtual bool IsDiscouraged() const