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()