Merge pull request #312 from morphis/f/pass-correct-version

Pass snap version to correct cmake variable
This commit is contained in:
Simon Fels 2017-06-07 12:41:56 +02:00 committed by GitHub
commit 1c526b0d7e

View file

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