4
1
mirror of https://github.com/QuasarApp/CQtDeployer.git synced 2025-05-07 06:59:35 +00:00

fix build snap packages

This commit is contained in:
Andrei Yankovich 2022-10-16 22:35:39 +03:00
parent 6a0e24f99f
commit a9c18d7073

@ -107,6 +107,10 @@ add_dependencies(deploy${CURRENT_PROJECT} downloadQIFW)
addDeployFromCustomFile(${CURRENT_PROJECT}Single "${CMAKE_CURRENT_SOURCE_DIR}/Deploy/CQtDeployerSingle.json")
# disable lxd container builds...
# because host build system has some version as a core package of snap.
set(SNAPCRAFT_EXTRA_ARG "--destructive-mode")
addDeploySnap(${CURRENT_PROJECT} "${CMAKE_SOURCE_DIR}/Distro/")
if(TARGET snapcraft${CURRENT_PROJECT})