summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: c0285fae722979f6590b7c9acdb3e135915ca8cb (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 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)