aboutsummaryrefslogtreecommitdiff
path: root/find-modules
diff options
context:
space:
mode:
authorChristophe Giboudeaux <christophe@krop.fr>2021-05-17 14:04:07 +0200
committerChristophe Giboudeaux <christophe@krop.fr>2021-05-17 14:04:07 +0200
commit63479ef093c7dc0e23281ecb957d526943565eaf (patch)
tree50130e2e84f53c760edbe83327dc6e13a6fcfebf /find-modules
parentc1782e5f809842ef7723cf6c4c9525357cb43df1 (diff)
downloadextra-cmake-modules-63479ef093c7dc0e23281ecb957d526943565eaf.tar.gz
extra-cmake-modules-63479ef093c7dc0e23281ecb957d526943565eaf.tar.bz2
Use pkg_check_modules in FindTaglib.cmake
pkg_search_module() is only useful when the pkgconfig file may have different names.
Diffstat (limited to 'find-modules')
-rw-r--r--find-modules/FindTaglib.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/find-modules/FindTaglib.cmake b/find-modules/FindTaglib.cmake
index 2fd4500e..e3a0014f 100644
--- a/find-modules/FindTaglib.cmake
+++ b/find-modules/FindTaglib.cmake
@@ -33,7 +33,7 @@ Since 5.72.0
find_package(PkgConfig QUIET)
-pkg_search_module(PC_TAGLIB QUIET taglib)
+pkg_check_modules(PC_TAGLIB QUIET taglib)
find_path(Taglib_INCLUDE_DIRS
NAMES tag.h