opnsense-ports/audio/soundkonverter/files/patch-CMakeLists.txt
Franco Fichtner 19905dd764 */*: sync with upstream
Taken from: HardenedBSD
2020-07-21 18:12:31 +02:00

14 lines
747 B
Text

--- 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})