commit | 9ddef32ba0ee22bf26fcc9669d9e7c49df64691a | [log] [tgz] |
---|---|---|
author | Kerem Aksu <kerem.aksu@users.noreply.gitlab.kitware.com> | Sat Apr 20 20:31:50 2024 +0300 |
committer | Kerem Aksu <kerem.aksu@users.noreply.gitlab.kitware.com> | Sat Apr 20 21:03:56 2024 +0300 |
tree | 9fc8fc8a2d225ef86c6b3710af87aecf7c8b4d21 | |
parent | 70413d2c3501fe229e9b2d46c745aca5c9f2dc4a [diff] |
FindPkgConfig: Fix parsing of quoted lists with pkgconf <1.5.1 Unquote pkg-config output if they are printed within quotes. pkgconf <1.5.1 and classic pkg-config <0.29.1 prints quoted variables without unquoting them, this breaks returning variables with multiple values as a list behavior of CMake. Add a new test case for pkg_get_variable with multiple values to test list behavior and backslash escaped spaces within variable values. Fixes: #25904