summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallFilesCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmInstallFilesCommand.h')
-rw-r--r--Source/cmInstallFilesCommand.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmInstallFilesCommand.h b/Source/cmInstallFilesCommand.h
index 80b1cda..826e5ed 100644
--- a/Source/cmInstallFilesCommand.h
+++ b/Source/cmInstallFilesCommand.h
@@ -94,6 +94,12 @@ public:
"is stored in the variable CMAKE_INSTALL_PREFIX.";
}
+ /** This command is only kept for compatibility with older CMake versions. */
+ virtual bool IsDiscouraged()
+ {
+ return true;
+ }
+
cmTypeMacro(cmInstallFilesCommand, cmCommand);
protected: