Warning, /multimedia/amarok/src/core-impl/collections/mtpcollection/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 if (MTP_FOUND)
0002    include_directories(SYSTEM
0003        ${GLIB2_INCLUDE_DIR}
0004    )
0005    include_directories(
0006        ${Amarok_SOURCE_DIR}/src
0007        ${Amarok_SOURCE_DIR}/src/core-impl/collections
0008        ${Amarok_SOURCE_DIR}/src/core-impl/collections/mediadevicecollection
0009        ${Amarok_SOURCE_DIR}/src/core-impl/collections/mediadevicecollection/support
0010        ${Amarok_SOURCE_DIR}/src/core-impl/collections/mediadevicecollection/handler
0011        ${Amarok_SOURCE_DIR}/src/core-impl/collections/mediadevicecollection/handler/capabilities
0012        ${Amarok_SOURCE_DIR}/src/core-impl/collections/mtpcollection/handler
0013        ${Amarok_SOURCE_DIR}/src/core-impl/collections/mtpcollection/handler/capabilities
0014        ${Amarok_SOURCE_DIR}/src/core-impl/collections/mtpcollection/support
0015        ${CMAKE_BINARY_DIR}/src
0016        ${AMAROK_COLLECTION_SUPPORT_DIR}
0017 )
0018 
0019 
0020 ########### next target ###############
0021 
0022 set(amarok_collection-mtpcollection_PART_SRCS
0023     MtpCollection.cpp
0024     handler/MtpHandler.cpp
0025     handler/capabilities/MtpPlaylistCapability.cpp
0026     handler/capabilities/MtpReadCapability.cpp
0027     handler/capabilities/MtpWriteCapability.cpp
0028     support/MtpDeviceInfo.cpp
0029     support/MtpConnectionAssistant.cpp
0030 )
0031 add_library(amarok_collection-mtpcollection MODULE ${amarok_collection-mtpcollection_PART_SRCS})
0032 
0033 target_link_libraries(amarok_collection-mtpcollection
0034     amarokcore
0035     amaroklib
0036     KF5::KIOCore
0037     KF5::ThreadWeaver
0038     Qt5::Gui
0039     Mtp::Mtp
0040 )
0041 
0042 install(TARGETS amarok_collection-mtpcollection DESTINATION ${KDE_INSTALL_PLUGINDIR} )
0043 
0044 kcoreaddons_desktop_to_json(amarok_collection-mtpcollection amarok_collection-mtpcollection.desktop SERVICE_TYPES ${CMAKE_SOURCE_DIR}/src/amarok-plugin.desktop)
0045 
0046 
0047 endif ()