mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-15 21:01:45 -05:00
install udev-rules only on linux
This commit is contained in:
parent
f7612a703d
commit
07c1413c95
@ -535,11 +535,13 @@ install(TARGETS sdrangelbench DESTINATION bin)
|
|||||||
#install(TARGETS sdrbase DESTINATION lib)
|
#install(TARGETS sdrbase DESTINATION lib)
|
||||||
|
|
||||||
#install files and directories
|
#install files and directories
|
||||||
|
if (CMAKE_SYSTEM_NAME EQUAL "Linux")
|
||||||
install(DIRECTORY udev-rules DESTINATION share/sdrangel)
|
install(DIRECTORY udev-rules DESTINATION share/sdrangel)
|
||||||
install(FILES udev-rules/install.sh DESTINATION share/sdrangel/udev-rules PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
|
install(FILES udev-rules/install.sh DESTINATION share/sdrangel/udev-rules PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
|
||||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/sdrbase.rcc DESTINATION bin)
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/sdrbase.rcc DESTINATION bin)
|
||||||
install(FILES desktop/sdrangel.desktop DESTINATION share/applications)
|
install(FILES desktop/sdrangel.desktop DESTINATION share/applications)
|
||||||
install(FILES desktop/sdrangel_icon.png DESTINATION share/pixmaps)
|
install(FILES desktop/sdrangel_icon.png DESTINATION share/pixmaps)
|
||||||
|
endif()
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user