Add support for auto-coverage in Bluetooth-Agent
[platform/core/connectivity/bluetooth-agent.git] / CMakeLists.txt
index b7c18fa..6f8fc2f 100644 (file)
@@ -9,6 +9,6 @@ ADD_SUBDIRECTORY(pb-agent)
 ADD_SUBDIRECTORY(ag-agent)
 ADD_SUBDIRECTORY(ipsp-agent)
 ADD_SUBDIRECTORY(hid-agent)
-IF (BUILD_GTESTS)
+IF (BUILD_GCOV)
 ADD_SUBDIRECTORY(unittest)
-ENDIF (BUILD_GTESTS)
+ENDIF (BUILD_GCOV)
\ No newline at end of file