Pass snap version to correct cmake variable

This commit is contained in:
Simon Fels 2017-06-07 07:41:11 +02:00
commit 4ff35c2026

View file

@ -90,7 +90,7 @@ parts:
# FIXME: Anbox currently has some paths with hard coded prefixes. Once # FIXME: Anbox currently has some paths with hard coded prefixes. Once
# that is fixed we can avoid using a prefix here. # that is fixed we can avoid using a prefix here.
- -DCMAKE_INSTALL_PREFIX:PATH=/usr - -DCMAKE_INSTALL_PREFIX:PATH=/usr
- -DVERSION=$SNAPCRAFT_PROJECT_VERSION - -DANBOX_VERSION=$SNAPCRAFT_PROJECT_VERSION
build-packages: build-packages:
- build-essential - build-essential
- cmake - cmake