File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -260,6 +260,7 @@ else()
260
260
set (INSTALL_MAN_DIR "share/man/man1" )
261
261
endif ()
262
262
set (INSTALL_DATA_DIR "share/${PROJECT_NAME} " )
263
+ set (INSTALL_UDEV_DIR "etc/udev/rules.d/" )
263
264
endif (WIN32 OR CYGWIN )
264
265
265
266
# requirements
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ file(WRITE "${CMAKE_BINARY_DIR}/direwolf.conf" "${file_content}")
26
26
27
27
# install udev rules for CM108
28
28
if (LINUX )
29
- install (FILES "${CUSTOM_CONF_DIR} /99-direwolf-cmedia.rules" DESTINATION /etc/udev/rules.d/ )
29
+ install (FILES "${CUSTOM_CONF_DIR} /99-direwolf-cmedia.rules" DESTINATION ${INSTALL_UDEV_DIR} )
30
30
endif ()
31
31
32
32
install (FILES "${CMAKE_BINARY_DIR} /direwolf.conf" DESTINATION ${INSTALL_CONF_DIR} )
You can’t perform that action at this time.
0 commit comments