summaryrefslogtreecommitdiff
path: root/cmake/config/eeze.cmake
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-02-03 10:39:23 +0100
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-02-03 10:59:04 +0100
commit3c0fe3ca3cda11a15e5652f8a6c0109d148d8fb6 (patch)
tree230b978d9b106ea433aa443c90fb0a8ec0b8fcb7 /cmake/config/eeze.cmake
parent94ddd709dbae52a729179d8ad7ac4f8b06845ea3 (diff)
cmake: add eeze
there is currently a bug in the testsuite which needs to change, otherwise modules cannot be loaded. The code acutally runs when its installed and EFL_RUN_IN_TREE is not set.
Diffstat (limited to '')
-rw-r--r--cmake/config/eeze.cmake24
1 files changed, 24 insertions, 0 deletions
diff --git a/cmake/config/eeze.cmake b/cmake/config/eeze.cmake
new file mode 100644
index 0000000000..2ca67716a9
--- /dev/null
+++ b/cmake/config/eeze.cmake
@@ -0,0 +1,24 @@
1
2#check what versions of mount
3pkg_check_modules(MOUNT mount)
4EFL_OPTION(HAVE_EEZE_MOUNT "Whenever to use libmount" ${MOUNT_FOUND} DEPENDS MOUNT_FOUND OFF)
5CHECK_APPEND_DEFINE(HAVE_EEZE_MOUNT ${HAVE_EEZE_MOUNT})
6
7pkg_check_modules(UDEV REQUIRED udev>=148)
8
9if(NOT ${UDEV_FOUND})
10 error("Udev is required")
11endif()
12
13#todo tizen
14if(ENABLED_TIZEN)
15 pkg_check_modules(SENSORS REQUIRED capi-system-sensor>=0.1.17 )
16endif()
17
18set(EEZE_MODULE_TYPE_SENSOR_FAKE ON)
19set(EEZE_MODULE_TYPE_SENSOR_TIZEN OFF)
20set(EEZE_MODULE_TYPE_SENSOR_UDEV ON)
21
22CHECK_APPEND_DEFINE(EEZE_MOUNT_BIN \"bla\")
23CHECK_APPEND_DEFINE(EEZE_UNMOUNT_BIN \"bla\")
24CHECK_APPEND_DEFINE(EEZE_EJECT_BIN \"bla\")