Document behavior of multiple target_link_libraries calls (#13113)
State explicitly that multiple calls append (rather than replace).
This commit is contained in:
parent
dcecea3953
commit
ebf39cd306
|
@ -64,7 +64,8 @@ public:
|
||||||
"Specify libraries or flags to use when linking a given target. "
|
"Specify libraries or flags to use when linking a given target. "
|
||||||
"The named <target> must have been created in the current directory "
|
"The named <target> must have been created in the current directory "
|
||||||
"by a command such as add_executable or add_library. "
|
"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"
|
"\n"
|
||||||
"If a library name matches that of another target in the project "
|
"If a library name matches that of another target in the project "
|
||||||
"a dependency will automatically be added in the build system to make "
|
"a dependency will automatically be added in the build system to make "
|
||||||
|
|
Loading…
Reference in New Issue