summaryrefslogtreecommitdiffstats
path: root/Source/cmLinkLibrariesCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmLinkLibrariesCommand.h')
-rw-r--r--Source/cmLinkLibrariesCommand.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmLinkLibrariesCommand.h b/Source/cmLinkLibrariesCommand.h
index bd6e80e..2f33689 100644
--- a/Source/cmLinkLibrariesCommand.h
+++ b/Source/cmLinkLibrariesCommand.h
@@ -75,6 +75,12 @@ public:
"type of build.";
}
+ /** This command is only kept for compatibility with older CMake versions. */
+ virtual bool IsDiscouraged()
+ {
+ return true;
+ }
+
cmTypeMacro(cmLinkLibrariesCommand, cmCommand);
};