Warning, /multimedia/k3b/plugins/decoder/ffmpeg/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 kcoreaddons_add_plugin(k3bffmpegdecoder 0002 SOURCES k3bffmpegdecoder.cpp k3bffmpegwrapper.cpp 0003 INSTALL_NAMESPACE "k3b_plugins") 0004 0005 if(FFMPEG_INCLUDE_DIR_OLD_STYLE) 0006 message(STATUS "didn't find new ffmpegcodecpath") 0007 target_include_directories(k3bffmpegdecoder PRIVATE ${FFMPEG_INCLUDE_DIR_OLD_STYLE}) 0008 else() 0009 message(STATUS "found new ffmpegcodecpath") 0010 target_compile_definitions(k3bffmpegdecoder PRIVATE NEWFFMPEGAVCODECPATH) 0011 target_include_directories(k3bffmpegdecoder PRIVATE ${FFMPEG_INCLUDE_DIR} ${FFMPEG_INCLUDE_DIRS}) 0012 endif() 0013 0014 target_link_libraries(k3bffmpegdecoder k3bdevice k3blib KF${KF_MAJOR_VERSION}::I18n ${FFMPEG_LIBRARIES})