From 678f64d3cc24b5c5f0598d963d6fca73978d1f50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Tue, 5 Dec 2023 11:27:59 +0100 Subject: [PATCH] Use /usr/lib/udev for udev rules %{CMAKE_INSTALL_LIBDIR} translates to /usr/lib64 on 64-bit systems while udev always expects /usr/lib. --- cmake/Install.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Install.cmake b/cmake/Install.cmake index 760f9bf..c02c0a6 100644 --- a/cmake/Install.cmake +++ b/cmake/Install.cmake @@ -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