summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallTargetsCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmInstallTargetsCommand.h')
-rw-r--r--Source/cmInstallTargetsCommand.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmInstallTargetsCommand.h b/Source/cmInstallTargetsCommand.h
index 10ab457..ec1d7c8 100644
--- a/Source/cmInstallTargetsCommand.h
+++ b/Source/cmInstallTargetsCommand.h
@@ -72,6 +72,12 @@ public:
"(Windows DLL), the files will be copied to that directory.";
}
+ /** This command is only kept for compatibility with older CMake versions. */
+ virtual bool IsDiscouraged()
+ {
+ return true;
+ }
+
cmTypeMacro(cmInstallTargetsCommand, cmCommand);
};