kdeconnect-kde/plugins/CMakeLists.txt
Andreas Sturmlechner 79bc9a85e4 Cleanup all occurences of QT_MAJOR_VERSION in cmake
Follow-up to 7f03aa548c

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2023-12-28 17:49:07 +01:00

68 lines
1.7 KiB
CMake

add_definitions(-DTRANSLATION_DOMAIN=\"kdeconnect-plugins\")
add_subdirectory(ping)
add_subdirectory(connectivity-report)
add_subdirectory(remotecommands)
add_subdirectory(remotecontrol)
add_subdirectory(remotesystemvolume)
add_subdirectory(clipboard)
add_subdirectory(runcommand)
if(NOT WIN32)
# https://bugs.kde.org/show_bug.cgi?id=444612
add_subdirectory(battery)
endif()
if(NOT WIN32 AND NOT APPLE)
add_subdirectory(bigscreen)
endif()
add_subdirectory(presenter)
if((WIN32 AND MSVC AND (${CMAKE_SYSTEM_VERSION} VERSION_GREATER_EQUAL 10.0.17763.0)) OR (NOT WIN32 AND NOT APPLE))
add_subdirectory(mpriscontrol)
endif()
add_subdirectory(mprisremote)
if(NOT APPLE)
add_subdirectory(lockdevice)
endif()
add_subdirectory(contacts)
add_subdirectory(share)
add_subdirectory(remotekeyboard)
add_subdirectory(notifications)
add_subdirectory(findmyphone)
add_subdirectory(telephony)
add_subdirectory(mousepad)
add_subdirectory(sms)
add_subdirectory(screensaver-inhibit)
add_subdirectory(virtualmonitor)
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
find_package(KF6ModemManagerQt ${KF_MIN_VERSION})
if (TARGET KF6::ModemManagerQt)
add_subdirectory(mmtelephony)
endif()
endif()
if(NOT APPLE)
add_subdirectory(sendnotifications)
add_subdirectory(sftp)
endif()
if(WITH_PULSEAUDIO OR WIN32)
add_subdirectory(pausemusic)
endif()
if(WITH_PULSEAUDIO OR WIN32)
add_subdirectory(findthisdevice)
endif()
if (WITH_PULSEAUDIO OR WIN32 OR APPLE)
add_subdirectory(systemvolume)
endif()
# If we split notifications per plugin, in several notifyrc files, they won't
# appear in the same group in the Notifications KCM
install(FILES kdeconnect.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFYRCDIR})