mirror of
https://github.com/hyprwm/Hyprland.git
synced 2026-08-24 10:04:19 -05:00
init: revert "gain real-time through rtkit (#15411)"
This reverts commit 83cd85b3d5.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user