Skip to content

Commit

Permalink
changed install prefix for Debian desktop and pixmap files from absol…
Browse files Browse the repository at this point in the history
…ute to relative
  • Loading branch information
yasamoka authored and trufanov-nok committed Feb 5, 2021
1 parent dd63d7a commit 657733e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,8 @@ ADD_SUBDIRECTORY(src)


IF(NOT WIN32 AND NOT APPLE)
INSTALL(FILES debian/scantailor-universal.svg DESTINATION "/usr/share/pixmaps/")
INSTALL(FILES debian/scantailor-universal.desktop DESTINATION "/usr/share/applications/")
INSTALL(FILES debian/scantailor-universal.svg DESTINATION "${CMAKE_INSTALL_PREFIX}/share/pixmaps/")
INSTALL(FILES debian/scantailor-universal.desktop DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications/")
ENDIF(NOT WIN32 AND NOT APPLE)

# uninstall target
Expand Down

0 comments on commit 657733e

Please sign in to comment.