From 1bd0d711ca816e35e653479301ec2e2e23cb1b70 Mon Sep 17 00:00:00 2001 From: Urs Fleisch Date: Thu, 15 Aug 2024 12:44:17 +0200 Subject: [PATCH] Support older utfcpp versions with utf8cpp CMake target (#1243) (#1244) This affects for example openSUSE Leap 15.6, which installs utfcpp 3.2.1 in its own folder. Now not only utf8::cpp, but also utf8cpp is supported as a CMake target. --- taglib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taglib/CMakeLists.txt b/taglib/CMakeLists.txt index 519bd9a6..c6785fb8 100644 --- a/taglib/CMakeLists.txt +++ b/taglib/CMakeLists.txt @@ -347,7 +347,7 @@ target_include_directories(tag INTERFACE ) target_link_libraries(tag - PRIVATE $<$:utf8::cpp> + PRIVATE $,utf8::cpp,$<$:utf8cpp>> $<$:ZLIB::ZLIB> )