summaryrefslogtreecommitdiff
path: root/cmake/config/eeze.cmake
blob: 2ca67716a939401dd201c97fe26d3a6269457bcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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\")