summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-04-09 12:53:32 (GMT)
committerBrad King <brad.king@kitware.com>2012-04-09 12:53:32 (GMT)
commitebf39cd306d23599d958c039ca15ed97fbe4256e (patch)
tree416302c62ba0f2b71fa063cae8ddf568631cccb9 /Source
parentdcecea39530d0d3de5d8447c4adb0718410e725e (diff)
downloadCMake-ebf39cd306d23599d958c039ca15ed97fbe4256e.zip
CMake-ebf39cd306d23599d958c039ca15ed97fbe4256e.tar.gz
CMake-ebf39cd306d23599d958c039ca15ed97fbe4256e.tar.bz2
Document behavior of multiple target_link_libraries calls (#13113)
State explicitly that multiple calls append (rather than replace).
Diffstat (limited to 'Source')
-rw-r--r--Source/cmTargetLinkLibrariesCommand.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmTargetLinkLibrariesCommand.h b/Source/cmTargetLinkLibrariesCommand.h
index be866c3..63114d2 100644
--- a/Source/cmTargetLinkLibrariesCommand.h
+++ b/Source/cmTargetLinkLibrariesCommand.h
@@ -64,7 +64,8 @@ public:
"Specify libraries or flags to use when linking a given target. "
"The named <target> must have been created in the current directory "
"by a command such as add_executable or add_library. "
- "The remaining arguments specify library names or flags."
+ "The remaining arguments specify library names or flags. "
+ "Repeated calls for the same <target> append items in the order called."
"\n"
"If a library name matches that of another target in the project "
"a dependency will automatically be added in the build system to make "