FindPkgConfig: mention that variables will be ;-lists

This commit is contained in:
Rolf Eike Beer
2017-06-12 22:02:50 +02:00
parent 6610fdbed2
commit 70a6cb70f6

View File

@@ -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