summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: 8608e0436b70a4348c622d5aba4dfa8f53a3e2ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)

INCLUDE(FindPkgConfig)
pkg_check_modules(package REQUIRED glib-2.0 dbus-glib-1 vconf)

FOREACH(flag ${package_CFLAGS})
	SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
ENDFOREACH(flag)

SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}")

ADD_SUBDIRECTORY(set-address)
ADD_SUBDIRECTORY(tools)
ADD_SUBDIRECTORY(firmware)
ADD_SUBDIRECTORY(scripts)