Fix the gcov build error
[platform/core/api/vpn-service.git] / CMakeLists.txt
index dff581b..30f5bfd 100755 (executable)
@@ -64,6 +64,6 @@ CONFIGURE_FILE(
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${PACKAGE_NAME}.pc DESTINATION ${LIBDIR}/pkgconfig)
 
 ADD_SUBDIRECTORY(tools)
-IF(BUILD_GTESTS)
+IF(BUILD_UNITTEST)
        ADD_SUBDIRECTORY(tests)
-ENDIF(BUILD_GTESTS)
+ENDIF(BUILD_UNITTEST)