From f71ad851d81649c59a8f4724d72ba4c935cdefce Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 24 Jan 2007 13:45:42 -0500 Subject: ENH: Patch from Alex to make deprecated command documentation more consistent. --- Source/cmLinkLibrariesCommand.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Source/cmLinkLibrariesCommand.h') diff --git a/Source/cmLinkLibrariesCommand.h b/Source/cmLinkLibrariesCommand.h index cd9a34f368..9e860e9df4 100644 --- a/Source/cmLinkLibrariesCommand.h +++ b/Source/cmLinkLibrariesCommand.h @@ -53,7 +53,7 @@ public: */ virtual const char* GetTerseDocumentation() { - return "Link libraries to all targets added later."; + return "Deprecated. Use the TARGET_LINK_LIBRARIES() command instead."; } /** @@ -62,10 +62,8 @@ public: virtual const char* GetFullDocumentation() { return + "Link libraries to all targets added later.\n" " LINK_LIBRARIES(library1 library2 ...)\n" - "This is an old CMake command for linking libraries. Use " - "TARGET_LINK_LIBRARIES unless you have a good reason for every target " - "to link to the same set of libraries.\n" "Specify a list of libraries to be linked into " "any following targets (typically added with the ADD_EXECUTABLE " "or ADD_LIBRARY calls). This command is passed " -- cgit v1.2.1