summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallFilesCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmInstallFilesCommand.h')
-rw-r--r--Source/cmInstallFilesCommand.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmInstallFilesCommand.h b/Source/cmInstallFilesCommand.h
index da43920..d3c7ed6 100644
--- a/Source/cmInstallFilesCommand.h
+++ b/Source/cmInstallFilesCommand.h
@@ -41,12 +41,12 @@ public:
/**
* The name of the command as specified in CMakeList.txt.
*/
- virtual const char* GetName() { return "install_files";}
+ virtual const char* GetName() const { return "install_files";}
/**
* Succinct documentation.
*/
- virtual const char* GetTerseDocumentation()
+ virtual const char* GetTerseDocumentation() const
{
return "Deprecated. Use the install(FILES ) command instead.";
}
@@ -63,7 +63,7 @@ public:
/**
* More documentation.
*/
- virtual const char* GetFullDocumentation()
+ virtual const char* GetFullDocumentation() const
{
return
"This command has been superceded by the install command. It "
@@ -92,7 +92,7 @@ public:
}
/** This command is kept for compatibility with older CMake versions. */
- virtual bool IsDiscouraged()
+ virtual bool IsDiscouraged() const
{
return true;
}