mirror of
https://github.com/taglib/taglib.git
synced 2025-05-25 12:10:26 -04:00
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.
This commit is contained in:
parent
7c85fcaa81
commit
1bd0d711ca
@ -347,7 +347,7 @@ target_include_directories(tag INTERFACE
|
||||
)
|
||||
|
||||
target_link_libraries(tag
|
||||
PRIVATE $<$<TARGET_EXISTS:utf8::cpp>:utf8::cpp>
|
||||
PRIVATE $<IF:$<TARGET_EXISTS:utf8::cpp>,utf8::cpp,$<$<TARGET_EXISTS:utf8cpp>:utf8cpp>>
|
||||
$<$<TARGET_EXISTS:ZLIB::ZLIB>:ZLIB::ZLIB>
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user