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