mirror of
https://github.com/jtgans/g13gui.git
synced 2025-06-20 08:23:50 -04:00
cmake: Make install create /run/g13d
CMake still doesn't have a way to set mode and owner/group at install time atomically, so we have to fall back and call install directly in a script.
This commit is contained in:
parent
8e8638d08f
commit
05c64f62ed
@ -23,3 +23,7 @@ target_link_libraries(g13d
|
||||
${libusb-1.0_LIBRARIES})
|
||||
|
||||
install(TARGETS g13d pbm2lpbm RUNTIME)
|
||||
install(CODE "
|
||||
execute_process(COMMAND install -d -m 0660 -o root -g input /run/g13d)
|
||||
message(STATUS \"Install: /run/g13d\")
|
||||
")
|
||||
|
Loading…
Reference in New Issue
Block a user