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