Name: capi-media-vision
Summary: Media Vision library for Tizen Native API
Version: 0.8.8
-Release: 0
+Release: 1
Group: Multimedia/Framework
License: Apache-2.0 and BSD-3-Clause
Source0: %{name}-%{version}.tar.gz
BuildRequires: pkgconfig(gstreamer-app-1.0)
BuildRequires: pkgconfig(libtzplatform-config)
BuildRequires: pkgconfig(ncurses)
-BuildRequires: pkgconfig(gtest)
+BuildRequires: gtest-devel
%endif
Requires: %{name}-machine_learning
project(mv_test)
cmake_minimum_required(VERSION 2.6)
-pkg_check_modules(${PROJECT_NAME}_DEP REQUIRED gtest gtest_main)
add_executable(${PROJECT_NAME}
testsuites/barcode/test_barcode.cpp
testsuites/machine_learning/inference/test_inference_helper.cpp
testsuites/machine_learning/inference/test_image_classification.cpp
testsuites/machine_learning/inference/test_object_detection.cpp
)
-target_link_libraries(${PROJECT_NAME} ${${PROJECT_NAME}_DEP_LIBRARIES} mv_inference mv_image_helper mv_barcode_detector)
+target_link_libraries(${PROJECT_NAME} gtest gtest_main mv_inference mv_image_helper mv_barcode_detector)
install(TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})
\ No newline at end of file