3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/indilib/udev-dir.patch
2020-11-09 12:21:31 +00:00

12 lines
625 B
Diff

--- indi-1.8.6/CMakeLists.txt 2020-08-21 05:56:59.000000000 -0500
+++ CMakeLists.txt 2020-11-01 12:50:57.621293870 -0600
@@ -77,7 +77,7 @@
## the following are directories where stuff will be installed to
set(INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include/")
set(PKGCONFIG_INSTALL_PREFIX "${CMAKE_INSTALL_LIBDIR}/pkgconfig/")
-set(UDEVRULES_INSTALL_DIR "/lib/udev/rules.d" CACHE STRING "Base directory for udev rules")
+set(UDEVRULES_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib/udev/rules.d" CACHE STRING "Base directory for udev rules")
set(PKG_CONFIG_LIBDIR ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR})