Check if the server has CAP_SYS_NICE, allow user to grant it

This commit is contained in:
Guillaume Meunier
2024-10-11 17:54:52 +02:00
parent 18b8f549ad
commit 6baeceb74a
7 changed files with 234 additions and 16 deletions
+3
View File
@@ -55,6 +55,9 @@ target_link_libraries(wivrn-dashboard PRIVATE
Qt6::Network
nlohmann_json
)
if (WIVRN_CHECK_CAPSYSNICE)
target_link_libraries(wivrn-dashboard PRIVATE PkgConfig::libcap)
endif()
file(GLOB TRANSLATION_FILES ${CMAKE_CURRENT_SOURCE_DIR}/wivrn_*.ts)
qt_add_translations(wivrn-dashboard TS_FILES ${TRANSLATION_FILES})