summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorKim Kibum <kb0929.kim@samsung.com>2012-04-29 16:59:49 +0900
committerKim Kibum <kb0929.kim@samsung.com>2012-04-29 16:59:49 +0900
commit7bdb9d9928109495da4563c5b52cedb7e5ebdd63 (patch)
tree4d7e22fa4654aced04a9dfd72014b49b8713cb48 /CMakeLists.txt
parentf4df98ff9ef3c9ecfd045f5695a7653be3cd4e8b (diff)
downloadbluetooth-firmware-bcm-7bdb9d9928109495da4563c5b52cedb7e5ebdd63.tar.gz
bluetooth-firmware-bcm-7bdb9d9928109495da4563c5b52cedb7e5ebdd63.tar.bz2
bluetooth-firmware-bcm-7bdb9d9928109495da4563c5b52cedb7e5ebdd63.zip
upload tizen1.0 source
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index defa1dd..8608e04 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,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)