diff --git a/CMakeLists.txt b/CMakeLists.txt index cde74a0..5230bb2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -95,7 +95,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux") add_custom_target(install_udev COMMAND cp 99-tomtom.rules /etc/udev/rules.d COMMAND udevadm control --reload-rules - COMMAND addgroup usb + COMMAND addgroup --system usb COMMAND usermod -a -Gusb `logname` WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) endif()