diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/config/eeze.cmake | 24 |
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 @@ + +#check what versions of mount +pkg_check_modules(MOUNT mount) +EFL_OPTION(HAVE_EEZE_MOUNT "Whenever to use libmount" ${MOUNT_FOUND} DEPENDS MOUNT_FOUND OFF) +CHECK_APPEND_DEFINE(HAVE_EEZE_MOUNT ${HAVE_EEZE_MOUNT}) + +pkg_check_modules(UDEV REQUIRED udev>=148) + +if(NOT ${UDEV_FOUND}) + error("Udev is required") +endif() + +#todo tizen +if(ENABLED_TIZEN) + pkg_check_modules(SENSORS REQUIRED capi-system-sensor>=0.1.17 ) +endif() + +set(EEZE_MODULE_TYPE_SENSOR_FAKE ON) +set(EEZE_MODULE_TYPE_SENSOR_TIZEN OFF) +set(EEZE_MODULE_TYPE_SENSOR_UDEV ON) + +CHECK_APPEND_DEFINE(EEZE_MOUNT_BIN \"bla\") +CHECK_APPEND_DEFINE(EEZE_UNMOUNT_BIN \"bla\") +CHECK_APPEND_DEFINE(EEZE_EJECT_BIN \"bla\") |