Skip to content

Commit

Permalink
Use /usr/lib/udev for udev rules
Browse files Browse the repository at this point in the history
%{CMAKE_INSTALL_LIBDIR} translates to /usr/lib64 on 64-bit systems while
udev always expects /usr/lib.
  • Loading branch information
sharkcz committed Dec 5, 2023
1 parent c0f5f50 commit 678f64d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Install.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ install(FILES
${CMAKE_SOURCE_DIR}/cmake/50-mustang.rules
${CMAKE_SOURCE_DIR}/cmake/70-mustang-uaccess.rules
${CMAKE_SOURCE_DIR}/cmake/70-mustang-plugdev.rules
DESTINATION ${CMAKE_INSTALL_LIBDIR}/udev/rules.d
DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/udev/rules.d
)
install(FILES ${CMAKE_SOURCE_DIR}/cmake/plug.desktop
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications
Expand Down

0 comments on commit 678f64d

Please sign in to comment.