summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorSilvio Traversaro <silvio.traversaro@iit.it>2016-08-20 10:06:55 (GMT)
committerBrad King <brad.king@kitware.com>2016-08-24 13:40:25 (GMT)
commit828d6c137d703ea095008fc6da794904a15c4ebd (patch)
treeb4c0a6d0ef048e1d13de28637df1d74bd0784d08 /Help/command
parentff5c89de0c23c0568afcbabd63974388ca045aa3 (diff)
downloadCMake-828d6c137d703ea095008fc6da794904a15c4ebd.zip
CMake-828d6c137d703ea095008fc6da794904a15c4ebd.tar.gz
CMake-828d6c137d703ea095008fc6da794904a15c4ebd.tar.bz2
find_package: Extend search path for combined Windows/UNIX convention
Find packages that install their cmake package configuration files in `lib/cmake/<name>` when they are installed in the default Windows CMAKE_INSTALL_PREFIX, `C:/Program Files/<name>`. Closes: #16212
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/find_package.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Help/command/find_package.rst b/Help/command/find_package.rst
index 8098a87..c44fe86 100644
--- a/Help/command/find_package.rst
+++ b/Help/command/find_package.rst
@@ -201,6 +201,9 @@ Each entry is meant for installation trees following Windows (W), UNIX
<prefix>/(lib/<arch>|lib|share)/cmake/<name>*/ (U)
<prefix>/(lib/<arch>|lib|share)/<name>*/ (U)
<prefix>/(lib/<arch>|lib|share)/<name>*/(cmake|CMake)/ (U)
+ <prefix>/<name>*/(lib/<arch>|lib|share)/cmake/<name>*/ (W/U)
+ <prefix>/<name>*/(lib/<arch>|lib|share)/<name>*/ (W/U)
+ <prefix>/<name>*/(lib/<arch>|lib|share)/<name>*/(cmake|CMake)/ (W/U)
On systems supporting OS X Frameworks and Application Bundles the
following directories are searched for frameworks or bundles