2018-12-09 18:47:14 +00:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2022-11-09 03:00:17 +00:00
|
|
|
index eb9be42..220817c 100644
|
2018-12-09 18:47:14 +00:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2022-11-09 03:00:17 +00:00
|
|
|
@@ -662,16 +662,8 @@ install(FILES DSView/icons/logo.svg DESTINATION share/icons/hicolor/scalable/app
|
|
|
|
install(FILES DSView/icons/logo.svg DESTINATION share/pixmaps RENAME dsview.svg)
|
2018-12-09 18:47:14 +00:00
|
|
|
|
2022-11-09 03:00:17 +00:00
|
|
|
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
|
|
|
- install(FILES DSView/DSView.desktop DESTINATION /usr/share/applications RENAME dsview.desktop)
|
|
|
|
-
|
|
|
|
- if(IS_DIRECTORY /usr/lib/udev/rules.d)
|
|
|
|
- install(FILES DSView/DreamSourceLab.rules DESTINATION /usr/lib/udev/rules.d RENAME 60-dreamsourcelab.rules)
|
|
|
|
- elseif(IS_DIRECTORY /lib/udev/rules.d)
|
|
|
|
- install(FILES DSView/DreamSourceLab.rules DESTINATION /lib/udev/rules.d RENAME 60-dreamsourcelab.rules)
|
|
|
|
- elseif(IS_DIRECTORY /etc/udev/rules.d)
|
|
|
|
- install(FILES DSView/DreamSourceLab.rules DESTINATION /etc/udev/rules.d RENAME 60-dreamsourcelab.rules)
|
|
|
|
- endif()
|
|
|
|
-
|
|
|
|
+ install(FILES DSView/DSView.desktop DESTINATION share/applications RENAME dsview.desktop)
|
|
|
|
+ install(FILES DSView/DreamSourceLab.rules DESTINATION etc/udev/rules.d RENAME 60-dreamsourcelab.rules)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
install(FILES NEWS25 DESTINATION share/DSView RENAME NEWS25)
|