Skip to content

Commit

Permalink
Fix build on Mac with utf8cpp from Homebrew
Browse files Browse the repository at this point in the history
utf8cppTargets creates imported target utf8cpp::utf8cpp.
  • Loading branch information
ufleisch committed Nov 3, 2023
1 parent 8c63c87 commit 114a84a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions taglib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ set(tag_LIB_SRCS
add_library(tag ${tag_LIB_SRCS} ${tag_HDRS})

target_link_libraries(tag $<$<TARGET_EXISTS:utf8::cpp>:utf8::cpp>)
target_link_libraries(tag $<$<TARGET_EXISTS:utf8cpp::utf8cpp>:utf8cpp::utf8cpp>)
target_link_libraries(tag $<$<TARGET_EXISTS:ZLIB::ZLIB>:ZLIB::ZLIB>)

set_target_properties(tag PROPERTIES
Expand Down

0 comments on commit 114a84a

Please sign in to comment.