From a352ffb8090e6d232ea3de6f1355b0159ffd0137 Mon Sep 17 00:00:00 2001 From: casey langen Date: Wed, 21 Dec 2022 19:52:38 -0800 Subject: [PATCH] Use vendor'd taglib if building standalone. --- src/plugins/taglib_plugin/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/taglib_plugin/CMakeLists.txt b/src/plugins/taglib_plugin/CMakeLists.txt index 106cf2c3a..52f0e0978 100644 --- a/src/plugins/taglib_plugin/CMakeLists.txt +++ b/src/plugins/taglib_plugin/CMakeLists.txt @@ -7,7 +7,9 @@ add_library(taglibreader SHARED ${taglibreader_SOURCES}) find_library(LIBZ z) -if (NOT ${ENABLE_BUNDLED_TAGLIB} MATCHES "false") +if (${BUILD_STANDALONE} MATCHES "true") + find_vendor_library(LIBTAG tag) +elseif (NOT ${ENABLE_BUNDLED_TAGLIB} MATCHES "false") message(STATUS "[taglibmetadatareader] using bundled taglib = true") message(STATUS "[taglibmetadatareader] CMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}")