summaryrefslogtreecommitdiff
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 80b1cda55e..51a87ef10a 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 kept for compatibility with older CMake versions. */
+ virtual bool IsDiscouraged()
+ {
+ return true;
+ }
+
cmTypeMacro(cmInstallFilesCommand, cmCommand);
protected: