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