Fix 64bit build error
[platform/core/connectivity/bluetooth-frwk.git] / bt-oal / CMakeLists.txt
index ff1b5d0..e183c0a 100755 (executable)
@@ -12,11 +12,13 @@ ELSE("$ENV{BT_INCLUDE_OAL_BLUEZ}" STREQUAL "ENABLED")
 ENDIF("$ENV{BT_INCLUDE_OAL_BLUEZ}" STREQUAL "ENABLED")
 
 SET(SRCS
+../include/bt-internal-types.c
 oal-hardware.c
 oal-manager.c
 oal-adapter-mgr.c
 oal-device-mgr.c
 oal-hid-host.c
+oal-hid-device.c
 oal-socket.c
 oal-audio-src.c
 oal-a2dp-sink.c
@@ -25,6 +27,8 @@ oal-avrcp-ctrl.c
 oal-hfp.c
 oal-hdp.c
 oal-gatt.c
+oal-hf-client.c
+oal-mesh.c
 common/oal-utils.c
 common/oal-common.c
 common/oal-event-dispatcher.c
@@ -61,7 +65,7 @@ ENDFOREACH(flag)
 
 SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -g ")
 
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -fprofile-arcs -ftest-coverage")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -Wall -Werror")
 
 FIND_PROGRAM(UNAME NAMES uname)
 EXEC_PROGRAM("${UNAME}" ARGS "-m" OUTPUT_VARIABLE "ARCH")