From 70a6cb70f644b23acb99f1f6342728c8afb23d14 Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer Date: Mon, 12 Jun 2017 22:02:50 +0200 Subject: FindPkgConfig: mention that variables will be ;-lists --- Modules/FindPkgConfig.cmake | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Modules/FindPkgConfig.cmake b/Modules/FindPkgConfig.cmake index eb9522735a..a5357fa1c7 100644 --- a/Modules/FindPkgConfig.cmake +++ b/Modules/FindPkgConfig.cmake @@ -86,6 +86,9 @@ endmacro() pkg_get_variable( ) + If multiple values are returned variable will contain a + :ref:`;-list `. + For example: .. code-block:: cmake @@ -524,6 +527,9 @@ endmacro() = for common case = _STATIC for static linking + Every variable containing multiple values will be a + :ref:`;-list `. + There are some special variables whose prefix depends on the count of given modules. When there is only one module, stays unchanged. When there are multiple modules, the prefix will be -- cgit v1.2.1