summaryrefslogtreecommitdiffstats
path: root/Modules/FindPkgConfig.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2017-06-12 20:02:50 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2017-06-12 20:03:20 (GMT)
commit70a6cb70f644b23acb99f1f6342728c8afb23d14 (patch)
treec56771bf832908ddf0a289233990e3c056d4b177 /Modules/FindPkgConfig.cmake
parent6610fdbed2c8e375055a304daa41ee6301317c34 (diff)
downloadCMake-70a6cb70f644b23acb99f1f6342728c8afb23d14.zip
CMake-70a6cb70f644b23acb99f1f6342728c8afb23d14.tar.gz
CMake-70a6cb70f644b23acb99f1f6342728c8afb23d14.tar.bz2
FindPkgConfig: mention that variables will be ;-lists
Diffstat (limited to 'Modules/FindPkgConfig.cmake')
-rw-r--r--Modules/FindPkgConfig.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/FindPkgConfig.cmake b/Modules/FindPkgConfig.cmake
index eb95227..a5357fa 100644
--- a/Modules/FindPkgConfig.cmake
+++ b/Modules/FindPkgConfig.cmake
@@ -86,6 +86,9 @@ endmacro()
pkg_get_variable(<RESULT> <MODULE> <VARIABLE>)
+ If multiple values are returned variable will contain a
+ :ref:`;-list <CMake Language Lists>`.
+
For example:
.. code-block:: cmake
@@ -524,6 +527,9 @@ endmacro()
<XPREFIX> = <PREFIX> for common case
<XPREFIX> = <PREFIX>_STATIC for static linking
+ Every variable containing multiple values will be a
+ :ref:`;-list <CMake Language Lists>`.
+
There are some special variables whose prefix depends on the count of
given modules. When there is only one module, <PREFIX> stays
unchanged. When there are multiple modules, the prefix will be