--- CMakeLists.txt.orig 2020-07-18 20:38:56 UTC +++ CMakeLists.txt @@ -120,7 +120,10 @@ set(soundkonverter_SRCS ) add_executable(soundkonverter ${soundkonverter_SRCS}) -target_link_libraries(soundkonverter KF5::WidgetsAddons KF5::KIOFileWidgets KF5::KIOCore KF5::Solid KF5::Cddb Phonon::phonon4qt5 ${TAGLIB_LIBRARIES} ${CDPARANOIA_LIBRARIES} KF5::KDELibs4Support soundkonvertercore) +if(NOT TAGLIB_LIBRARIES) + set(TAGLIB_LIBRARIES Taglib::Taglib) +endif() +target_link_libraries(soundkonverter KF5::WidgetsAddons KF5::KIOFileWidgets KF5::KIOCore KF5::Solid KF5::Cddb Phonon::phonon4qt5 ${TAGLIB_LIBRARIES} ${CDPARANOIA_LIBRARIES} KF5::KDELibs4Support soundkonvertercore) install(TARGETS soundkonverter DESTINATION ${BIN_INSTALL_DIR})