mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 03:12:00 -04:00
set CPACK_PACKAGING_INSTALL_PREFIX to /usr as well
This commit is contained in:
parent
b7c669c47c
commit
2546592066
@ -126,6 +126,7 @@ if(WIN32)
|
||||
elseif(LINUX)
|
||||
set(CPACK_GENERATOR External)
|
||||
set(CPACK_EXTERNAL_ENABLE_STAGING YES)
|
||||
set(CPACK_PACKAGING_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||
set(CPACK_EXTERNAL_PACKAGE_SCRIPT "${PROJECT_BINARY_DIR}/appimage-generate.cmake")
|
||||
|
||||
file(GENERATE
|
||||
@ -154,8 +155,8 @@ elseif(LINUX)
|
||||
--appimage-extract-and-run
|
||||
--appdir=${CPACK_TEMPORARY_DIRECTORY}
|
||||
--executable=$<TARGET_FILE:woof>
|
||||
--desktop-file=${CPACK_TEMPORARY_DIRECTORY}/share/applications/io.github.fabiangreffrath.woof.desktop
|
||||
--icon-file=${CPACK_TEMPORARY_DIRECTORY}/share/icons/hicolor/128x128/apps/woof.png
|
||||
--desktop-file=${CPACK_TEMPORARY_DIRECTORY}/usr/share/applications/io.github.fabiangreffrath.woof.desktop
|
||||
--icon-file=${CPACK_TEMPORARY_DIRECTORY}/usr/share/icons/hicolor/128x128/apps/woof.png
|
||||
--output=appimage)
|
||||
]])
|
||||
else()
|
||||
|
Loading…
x
Reference in New Issue
Block a user