Remove the redundency to make profile rpms
[platform/core/connectivity/bluetooth-agent.git] / CMakeLists.txt
index 419b7de..86d8c7a 100644 (file)
@@ -1,13 +1,10 @@
 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(bt-ipsp)
\ No newline at end of file