Warning, /multimedia/audiocd-kio/plugins/lame/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 find_program(LAME_EXECUTABLE NAMES lame)
0002 
0003 if(NOT LAME_EXECUTABLE)
0004     message(STATUS "\"lame\" binary not found. Plugins will be compile but install it under your system to using this plugins")
0005 endif()
0006 
0007 
0008 add_definitions(-DTRANSLATION_DOMAIN=\"audiocd_encoder_lame\")
0009 
0010 add_library(audiocd_encoder_lame SHARED)
0011 
0012 target_sources(audiocd_encoder_lame PRIVATE
0013     encoderlame.cpp encoderlame.h
0014 )
0015 
0016 ki18n_wrap_ui(audiocd_encoder_lame encoderlameconfig.ui)
0017 
0018 kconfig_add_kcfg_files(audiocd_encoder_lame audiocd_lame_encoder.kcfgc)
0019 
0020 target_include_directories(audiocd_encoder_lame
0021     PRIVATE
0022         ${CMAKE_BINARY_DIR}
0023 )
0024 
0025 target_link_libraries(audiocd_encoder_lame 
0026     audiocdplugins
0027     KF6::I18n
0028     Qt::Widgets
0029     KCddb6
0030 )
0031 
0032 install(TARGETS audiocd_encoder_lame  DESTINATION ${KDE_INSTALL_PLUGINDIR})
0033 
0034 install(FILES audiocd_lame_encoder.kcfg  DESTINATION  ${KDE_INSTALL_KCFGDIR})
0035