Fix the ASAN build error
[platform/core/connectivity/bluetooth-agent.git] / CMakeLists.txt
index e6a08f4..6f8fc2f 100644 (file)
@@ -1,11 +1,14 @@
 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
 
-IF (TIZEN_WEARABLE)
+# For bluetooth-agent-profile.h
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
+
 ADD_SUBDIRECTORY(hf-agent)
-ELSE (TIZEN_WEARABLE)
 ADD_SUBDIRECTORY(map-agent)
 ADD_SUBDIRECTORY(pb-agent)
-IF (TIZEN_BT_HFP_AG_ENABLE)
 ADD_SUBDIRECTORY(ag-agent)
-ENDIF (TIZEN_BT_HFP_AG_ENABLE)
-ENDIF (TIZEN_WEARABLE)
+ADD_SUBDIRECTORY(ipsp-agent)
+ADD_SUBDIRECTORY(hid-agent)
+IF (BUILD_GCOV)
+ADD_SUBDIRECTORY(unittest)
+ENDIF (BUILD_GCOV)
\ No newline at end of file