mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
Make SDL3 optional
Gaming shell plugin only builds when SDL3 is present. KDE CI does not provide SDL3, so the hard REQUIRED was breaking configure on every pipeline run.
This commit is contained in:
parent
7494733ca5
commit
5c5d962b34
3 changed files with 4 additions and 3 deletions
|
|
@ -112,7 +112,7 @@ set_package_properties(PlasmaWaylandProtocols PROPERTIES
|
|||
|
||||
find_package(LibKWorkspace CONFIG REQUIRED)
|
||||
find_package(Libudev REQUIRED)
|
||||
find_package(SDL3 REQUIRED)
|
||||
find_package(SDL3)
|
||||
|
||||
find_package(KWinDBusInterface)
|
||||
set_package_properties(KWinDBusInterface PROPERTIES DESCRIPTION "KWin DBus interface"
|
||||
|
|
|
|||
|
|
@ -14,4 +14,6 @@ add_subdirectory(wallpaperimageplugin)
|
|||
add_subdirectory(dpmsplugin)
|
||||
add_subdirectory(screenbrightnessplugin)
|
||||
add_subdirectory(raiselockscreenplugin)
|
||||
add_subdirectory(gamingshellplugin)
|
||||
if(SDL3_FOUND)
|
||||
add_subdirectory(gamingshellplugin)
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
# SPDX-FileCopyrightText: 2026 Marco Allegretti
|
||||
# SPDX-License-Identifier: EUPL-1.2
|
||||
|
||||
find_package(SDL3 REQUIRED)
|
||||
find_package(Qt6 REQUIRED COMPONENTS Sql DBus)
|
||||
|
||||
ecm_add_qml_module(gamingshellplugin URI org.kde.plasma.private.mobileshell.gamingshellplugin GENERATE_PLUGIN_SOURCE)
|
||||
|
|
|
|||
Loading…
Reference in a new issue