cmake: Use FindPkgConfig's pkg_get_variable instead of custom macro
authorMarvin Schmidt <marv@exherbo.org>
Thu, 10 Nov 2022 19:36:03 +0000 (20:36 +0100)
committerClaudio Cambra <claudio.cambra@gmail.com>
Thu, 24 Nov 2022 11:04:54 +0000 (12:04 +0100)
commit7f72678d32951b83eb51ee2edabccc1b744a08e5
treef8ac7f6bfc12788d51a826b9304c74892a7f835f
parent30a4006c785e24ff9f73884bc51555a0630da5a8
cmake: Use FindPkgConfig's pkg_get_variable instead of custom macro

Commit b34a90183818 ("Use FindPkgConfig to find libcloudproviders and
related libs") introduced the usage of cmake's FindPkgConfig module
which provides `pkg_get_variable` since version 3.4 that can be used
instead of the custom `PKGCONFIG_GETVAR` macro

Signed-off-by: Marvin Schmidt <marv@exherbo.org>
shell_integration/libcloudproviders/CMakeLists.txt