build(linux): honor install prefix for tray icon (#1208)

This commit is contained in:
istori1 2023-04-25 21:45:32 -04:00 committed by GitHub
parent 5a8b6c3ed0
commit 5ad5699456
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -944,7 +944,7 @@ elseif(UNIX)
if(${SUNSHINE_TRAY} STREQUAL 1)
install(FILES "${CMAKE_SOURCE_DIR}/sunshine.svg"
DESTINATION "/usr/share/icons")
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/icons")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "\
${CPACK_DEBIAN_PACKAGE_DEPENDS}, \