From 06bc276c64dc36bfd37fe46fe31c73471dab1981 Mon Sep 17 00:00:00 2001 From: Fabian Greffrath Date: Wed, 23 Aug 2023 14:59:13 +0200 Subject: [PATCH] use CPACK_PACKAGING_INSTALL_PREFIX instead of CMAKE_INSTALL_PREFIX (#1187) Gosh, why does it fall back to /usr/local?! --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2866dd1e..2a2334d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -155,8 +155,8 @@ elseif(LINUX) --appimage-extract-and-run --appdir=${CPACK_TEMPORARY_DIRECTORY} --executable=$ - --desktop-file=${CPACK_TEMPORARY_DIRECTORY}/${CMAKE_INSTALL_PREFIX}/share/applications/io.github.fabiangreffrath.woof.desktop - --icon-file=${CPACK_TEMPORARY_DIRECTORY}/${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/128x128/apps/woof.png + --desktop-file=${CPACK_TEMPORARY_DIRECTORY}/${CPACK_PACKAGING_INSTALL_PREFIX}/share/applications/io.github.fabiangreffrath.woof.desktop + --icon-file=${CPACK_TEMPORARY_DIRECTORY}/${CPACK_PACKAGING_INSTALL_PREFIX}/share/icons/hicolor/128x128/apps/woof.png --output=appimage) ]]) else()