summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2015-12-18 17:08:35 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2015-12-18 17:08:35 +0100
commita60988dad78ea22041771a9f40ed7e8f4c63b816 (patch)
tree14d5bc50501ced7f3faf79c5267f99478e49d6b4 /CMakeLists.txt
parenta8c5306b1d0ac21bd745ae553f59c6eb189e04a4 (diff)
fix directories and options
Change-Id: I83c0a65248faaecf8a1b2270003bd0cbd519794a
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 504162b..b8b8b27 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,9 +20,14 @@ cmake_minimum_required(VERSION 2.8)
project("afm-main" LANGUAGES "C")
+set(rootdir ".")
+set(sysconfdir "${rootdir}/etc")
+set(prefix "${rootdir}/usr")
+set(datadir "${prefix}/share")
+
set(afm_name "aglfwk")
set(afm_confdir "${sysconfdir}/${afm_name}")
-set(afm_datadir "${datadir}/$(afm_name}")
+set(afm_datadir "${datadir}/${afm_name}")
set(afm_appdir "${afm_datadir}/applications")
set(afm_icondir "${afm_datadir}/icons")
set(afm_prefix "urn:agl:")