Disable Battery plugin on Windows

It's causing severe issues

https://bugs.kde.org/show_bug.cgi\?id\=444612
This commit is contained in:
Nicolas Fella 2021-12-15 19:12:35 +01:00
parent e365e1b35c
commit dc34cfb66c

View file

@ -1,7 +1,6 @@
add_definitions(-DTRANSLATION_DOMAIN=\"kdeconnect-plugins\") add_definitions(-DTRANSLATION_DOMAIN=\"kdeconnect-plugins\")
add_subdirectory(ping) add_subdirectory(ping)
add_subdirectory(battery)
add_subdirectory(connectivity-report) add_subdirectory(connectivity-report)
add_subdirectory(remotecommands) add_subdirectory(remotecommands)
add_subdirectory(remotecontrol) add_subdirectory(remotecontrol)
@ -9,6 +8,12 @@ add_subdirectory(remotesystemvolume)
add_subdirectory(clipboard) add_subdirectory(clipboard)
add_subdirectory(runcommand) 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) if(NOT WIN32 AND NOT APPLE)
add_subdirectory(bigscreen) add_subdirectory(bigscreen)
endif() endif()
@ -35,7 +40,7 @@ if(NOT SAILFISHOS)
if(NOT WIN32) if(NOT WIN32)
add_subdirectory(sendnotifications) add_subdirectory(sendnotifications)
endif() endif()
if(NOT APPLE) if(NOT APPLE)
add_subdirectory(sftp) add_subdirectory(sftp)
endif() endif()