diff options
author | Brad King <brad.king@kitware.com> | 2009-01-29 19:14:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-01-29 19:14:02 (GMT) |
commit | ab11f82a5249581857cfacc837709c176095b7af (patch) | |
tree | c8794ce85e07d1b344db660c72a1e21896356d75 /Source/cmLinkDirectoriesCommand.h | |
parent | 7ca59f1724cfd177869608cba6d62c21fe7b9829 (diff) | |
download | CMake-ab11f82a5249581857cfacc837709c176095b7af.zip CMake-ab11f82a5249581857cfacc837709c176095b7af.tar.gz CMake-ab11f82a5249581857cfacc837709c176095b7af.tar.bz2 |
ENH: Docs for relative paths in link_directories
The link_directories command treats relative paths differently from most
CMake commands. This notes the difference in the documentation.
See issue #8377.
Diffstat (limited to 'Source/cmLinkDirectoriesCommand.h')
-rw-r--r-- | Source/cmLinkDirectoriesCommand.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmLinkDirectoriesCommand.h b/Source/cmLinkDirectoriesCommand.h index 7f37ebf..b575931 100644 --- a/Source/cmLinkDirectoriesCommand.h +++ b/Source/cmLinkDirectoriesCommand.h @@ -66,7 +66,12 @@ public: return " link_directories(directory1 directory2 ...)\n" "Specify the paths in which the linker should search for libraries. " - "The command will apply only to targets created after it is called."; + "The command will apply only to targets created after it is called. " + "For historical reasons, relative paths given to this command are " + "passed to the linker unchanged " + "(unlike many CMake commands which interpret them relative to the " + "current source directory)." + ; } cmTypeMacro(cmLinkDirectoriesCommand, cmCommand); |