mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Adapt build to the latest appimagetool
This commit is contained in:
parent
fa0bfae755
commit
f2f50f23fa
@ -39,7 +39,7 @@ endif ()
|
||||
|
||||
file (GLOB_RECURSE po resources/po/*.po)
|
||||
|
||||
if (APPIMAGE_APPRUN_PROGRAM AND APPIMAGE_ASSISTANT_PROGRAM)
|
||||
if (APPIMAGE_ASSISTANT_PROGRAM)
|
||||
set (USE_APPIMAGE ON)
|
||||
endif ()
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
|
||||
set (APPIMAGE_ASSISTANT_PROGRAM CACHE FILEPATH "AppImageAssistant executable")
|
||||
set (APPIMAGE_APPRUN_PROGRAM CACHE FILEPATH "AppImage AppRun executable")
|
||||
|
||||
set (APPIMAGE_WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/deploy/linux-appimage" CACHE PATH "Where to put the AppDir items")
|
||||
set (APPIMAGE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/package/linux-appimage" CACHE PATH "AppImage output directory")
|
||||
@ -94,11 +93,6 @@ macro (APPIMAGE_PACKAGE TARGET APPIMAGE_TITLE APPIMAGE_DISPLAYNAME CONFIGDIR DAT
|
||||
"${APPIMAGE_INTERMEDIATE_DIR}/${APPIMAGE_INTERNALNAME}.desktop"
|
||||
@ONLY
|
||||
)
|
||||
configure_file (
|
||||
"${APPIMAGE_APPRUN_PROGRAM}"
|
||||
"${APPIMAGE_INTERMEDIATE_DIR}/AppRun"
|
||||
COPYONLY
|
||||
)
|
||||
|
||||
# Copy resources into AppDir
|
||||
foreach (RESC ${DATA})
|
||||
|
Loading…
x
Reference in New Issue
Block a user