Configure default resource and data directories from CMake

As anbox is expected to installed in two ways (`snap` or `make install`),
it should be enough to get `snap` ENV or configure by cmake.
This commit is contained in:
王振华 (WANG Zhenhua) 2017-08-28 10:06:57 +08:00
commit 202b556bea
4 changed files with 17 additions and 10 deletions

4
.gitignore vendored
View file

@ -2,6 +2,8 @@ build*/
parts/
stage/
prime/
snap/
android-images/
*.snap
CMakeLists.txt.user
*.o.cmd
@ -14,6 +16,8 @@ CMakeLists.txt.user
modules.order
.tmp_versions
.idea
src/anbox/config.h
debian/anbox-modules-dkms.debhelper.log
debian/anbox-modules-dkms.substvars