From 5ad5699456be78ff45865a16d0ae1961498baa8f Mon Sep 17 00:00:00 2001 From: istori1 <107304850+istori1@users.noreply.github.com> Date: Tue, 25 Apr 2023 21:45:32 -0400 Subject: [PATCH] build(linux): honor install prefix for tray icon (#1208) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9e197fe3..53d809c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}, \