summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2012-03-30 00:41:52 +0200
committerRolf Eike Beer <eike@sf-mail.de>2012-03-30 00:41:52 +0200
commit32c3be611cfef58f8d98f20f2cd71498a2dc1970 (patch)
treed00a0ba50124a81dd3c073d2ee99bf5f8d7be955
parentedd8996fb4c048fb5b60768e930b270be8646180 (diff)
downloadcmake-32c3be611cfef58f8d98f20f2cd71498a2dc1970.tar.gz
FIND_LIBRARY: document FIND_LIBRARY_USE_LIB64_PATHS
-rw-r--r--Source/cmFindLibraryCommand.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/cmFindLibraryCommand.cxx b/Source/cmFindLibraryCommand.cxx
index a726849ad4..6cdbbf2dc5 100644
--- a/Source/cmFindLibraryCommand.cxx
+++ b/Source/cmFindLibraryCommand.cxx
@@ -57,7 +57,13 @@ void cmFindLibraryCommand::GenerateDocumentation()
"the full path to the framework <fullPath>/A.framework. "
"When a full path to a framework is used as a library, "
"CMake will use a -framework A, and a -F<fullPath> to "
- "link the framework to the target. ";
+ "link the framework to the target."
+ "\n"
+ "If the global property FIND_LIBRARY_USE_LIB64_PATHS is set all search "
+ "paths will be tested as normal, with \"64/\" appended, and with all "
+ "matches of \"lib/\" replaced with \"lib64/\". This property is "
+ "automatically set for the platforms that are known to need it if at "
+ "least one of the languages supported by the PROJECT command is enabled.";
}
// cmFindLibraryCommand