From 7d5e900bad49aeb5b85b84ff4001ae0a3e108711 Mon Sep 17 00:00:00 2001 From: Urs Fleisch Date: Tue, 13 Aug 2024 18:36:04 +0200 Subject: [PATCH] Support older utfcpp versions with utf8cpp CMake target (#1243) 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> )