Set KEEPASSXC_DIST_TYPE when building AppImages and Snaps

This commit is contained in:
Janek Bevendorff 2017-10-16 17:51:16 +02:00
parent bae9dbc407
commit 6d433fecef
2 changed files with 3 additions and 2 deletions

View file

@ -598,7 +598,8 @@ build() {
# Building on Linux without Docker container
logInfo "Configuring build..."
cmake -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=Off $CMAKE_OPTIONS \
-DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" "$SRC_DIR"
-DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" \
-DKEEPASSXC_DIST_TYPE=AppImage "$SRC_DIR"
logInfo "Compiling sources..."
make $MAKE_OPTIONS