mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-24 04:29:34 -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)
|
elseif(LINUX)
|
||||||
set(CPACK_GENERATOR External)
|
set(CPACK_GENERATOR External)
|
||||||
set(CPACK_EXTERNAL_ENABLE_STAGING YES)
|
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")
|
set(CPACK_EXTERNAL_PACKAGE_SCRIPT "${PROJECT_BINARY_DIR}/appimage-generate.cmake")
|
||||||
|
|
||||||
file(GENERATE
|
file(GENERATE
|
||||||
@ -154,8 +155,8 @@ elseif(LINUX)
|
|||||||
--appimage-extract-and-run
|
--appimage-extract-and-run
|
||||||
--appdir=${CPACK_TEMPORARY_DIRECTORY}
|
--appdir=${CPACK_TEMPORARY_DIRECTORY}
|
||||||
--executable=$<TARGET_FILE:woof>
|
--executable=$<TARGET_FILE:woof>
|
||||||
--desktop-file=${CPACK_TEMPORARY_DIRECTORY}/share/applications/io.github.fabiangreffrath.woof.desktop
|
--desktop-file=${CPACK_TEMPORARY_DIRECTORY}/usr/share/applications/io.github.fabiangreffrath.woof.desktop
|
||||||
--icon-file=${CPACK_TEMPORARY_DIRECTORY}/share/icons/hicolor/128x128/apps/woof.png
|
--icon-file=${CPACK_TEMPORARY_DIRECTORY}/usr/share/icons/hicolor/128x128/apps/woof.png
|
||||||
--output=appimage)
|
--output=appimage)
|
||||||
]])
|
]])
|
||||||
else()
|
else()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user