Skip to content

Commit

Permalink
build: fix install target paths to be consistent with the default val…
Browse files Browse the repository at this point in the history
…ue of CMAKE_INSTALL_PREFIX
  • Loading branch information
milahu authored and morganava committed Dec 20, 2023
1 parent f6d102a commit 6af9aed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ricochet-refresh/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -220,16 +220,16 @@ endif ()
if (UNIX)
# Again, not sure if this needs to be UNIX AND NOT WIN32, or if we should
# install to /bin on Cygwin like it does now
install(TARGETS ricochet-refresh DESTINATION usr/bin)
install(TARGETS ricochet-refresh DESTINATION bin)
endif ()

# Linux
if (UNIX AND NOT WIN32)
option (RICOCHET_REFRESH_INSTALL_DESKTOP "Install desktop integration files + icons" OFF)
if (RICOCHET_REFRESH_INSTALL_DESKTOP)
install(FILES resources/linux/ricochet-refresh.desktop DESTINATION usr/share/applications)
install(FILES resources/linux/icons/48x48/ricochet-refresh.png DESTINATION usr/share/icons/hicolor/48x48/apps/)
install(FILES resources/linux/icons/scalable/ricochet-refresh.svg DESTINATION usr/share/icons/hicolor/scalable/apps/)
install(FILES resources/linux/ricochet-refresh.desktop DESTINATION share/applications)
install(FILES resources/linux/icons/48x48/ricochet-refresh.png DESTINATION share/icons/hicolor/48x48/apps/)
install(FILES resources/linux/icons/scalable/ricochet-refresh.svg DESTINATION share/icons/hicolor/scalable/apps/)
endif ()
endif ()

Expand Down

0 comments on commit 6af9aed

Please sign in to comment.