mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-02-04 09:15:42 +00:00
build(linux)!: remove legacy input option (#3562)
This commit is contained in:
@ -203,24 +203,20 @@ else()
|
|||||||
message(STATUS "Tray icon disabled")
|
message(STATUS "Tray icon disabled")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(${SUNSHINE_USE_LEGACY_INPUT}) # TODO: Remove this legacy option after the next stable release
|
# These need to be set before adding the inputtino subdirectory in order for them to be picked up
|
||||||
list(APPEND PLATFORM_TARGET_FILES "${CMAKE_SOURCE_DIR}/src/platform/linux/input/legacy_input.cpp")
|
set(LIBEVDEV_CUSTOM_INCLUDE_DIR "${EVDEV_INCLUDE_DIR}")
|
||||||
else()
|
set(LIBEVDEV_CUSTOM_LIBRARY "${EVDEV_LIBRARY}")
|
||||||
# These need to be set before adding the inputtino subdirectory in order for them to be picked up
|
|
||||||
set(LIBEVDEV_CUSTOM_INCLUDE_DIR "${EVDEV_INCLUDE_DIR}")
|
|
||||||
set(LIBEVDEV_CUSTOM_LIBRARY "${EVDEV_LIBRARY}")
|
|
||||||
|
|
||||||
add_subdirectory("${CMAKE_SOURCE_DIR}/third-party/inputtino")
|
add_subdirectory("${CMAKE_SOURCE_DIR}/third-party/inputtino")
|
||||||
list(APPEND SUNSHINE_EXTERNAL_LIBRARIES inputtino::libinputtino)
|
list(APPEND SUNSHINE_EXTERNAL_LIBRARIES inputtino::libinputtino)
|
||||||
file(GLOB_RECURSE INPUTTINO_SOURCES
|
file(GLOB_RECURSE INPUTTINO_SOURCES
|
||||||
${CMAKE_SOURCE_DIR}/src/platform/linux/input/inputtino*.h
|
${CMAKE_SOURCE_DIR}/src/platform/linux/input/inputtino*.h
|
||||||
${CMAKE_SOURCE_DIR}/src/platform/linux/input/inputtino*.cpp)
|
${CMAKE_SOURCE_DIR}/src/platform/linux/input/inputtino*.cpp)
|
||||||
list(APPEND PLATFORM_TARGET_FILES ${INPUTTINO_SOURCES})
|
list(APPEND PLATFORM_TARGET_FILES ${INPUTTINO_SOURCES})
|
||||||
|
|
||||||
# build libevdev before the libinputtino target
|
# build libevdev before the libinputtino target
|
||||||
if(EXTERNAL_PROJECT_LIBEVDEV_USED)
|
if(EXTERNAL_PROJECT_LIBEVDEV_USED)
|
||||||
add_dependencies(libinputtino libevdev)
|
add_dependencies(libinputtino libevdev)
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# AppImage and Flatpak
|
# AppImage and Flatpak
|
||||||
|
|||||||
@ -65,6 +65,4 @@ elseif(UNIX) # Linux
|
|||||||
"Enable building wayland specific code." ON)
|
"Enable building wayland specific code." ON)
|
||||||
option(SUNSHINE_ENABLE_X11
|
option(SUNSHINE_ENABLE_X11
|
||||||
"Enable X11 grab if available." ON)
|
"Enable X11 grab if available." ON)
|
||||||
option(SUNSHINE_USE_LEGACY_INPUT # TODO: Remove this legacy option after the next stable release
|
|
||||||
"Use the legacy virtual input implementation." OFF)
|
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user