Enable snap confinement support conditionally

This commit is contained in:
Simon Fels 2018-07-19 22:37:46 -04:00
commit 82e9cbc43e
3 changed files with 16 additions and 5 deletions

View file

@ -241,6 +241,9 @@ parts:
# that is fixed we can avoid using a prefix here.
- -DCMAKE_INSTALL_PREFIX:PATH=/usr
- -DANBOX_VERSION=$SNAPCRAFT_PROJECT_VERSION
# FIXME: Once we have everything in place for full snap confinement we
# can securely enable this.
# - -DSNAP_CONFINEMENT=ON
build-packages:
- build-essential
- cmake