init: revert "gain real-time through rtkit (#15411)"

This reverts commit 83cd85b3d5.
This commit is contained in:
Vaxry
2026-07-17 16:41:07 +02:00
parent 3f6055bdbf
commit ad317198d9
4 changed files with 10 additions and 184 deletions
-9
View File
@@ -375,15 +375,6 @@ if(NOT HAS_INOTIFY AND inotify_FOUND)
target_link_libraries(hyprland_lib PUBLIC PkgConfig::inotify)
endif()
# sdbus-c++ is used to ask rtkit for realtime scheduling which is Linux-only
if(NO_RTKIT OR NOT CMAKE_SYSTEM_NAME STREQUAL "Linux")
message(STATUS "rtkit realtime scheduling is disabled!")
else()
pkg_check_modules(sdbus_dep REQUIRED IMPORTED_TARGET sdbus-c++>=2.0.0)
target_link_libraries(hyprland_lib PUBLIC PkgConfig::sdbus_dep)
add_compile_definitions(HAS_RTKIT)
endif()
if(NO_XWAYLAND)
message(STATUS "Using the NO_XWAYLAND flag, disabling XWayland!")
add_compile_definitions(NO_XWAYLAND)