summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallProgramsCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmInstallProgramsCommand.h')
-rw-r--r--Source/cmInstallProgramsCommand.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmInstallProgramsCommand.h b/Source/cmInstallProgramsCommand.h
index 2cd6d1e..e922af2 100644
--- a/Source/cmInstallProgramsCommand.h
+++ b/Source/cmInstallProgramsCommand.h
@@ -90,6 +90,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(cmInstallProgramsCommand, cmCommand);
protected: