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