Change-Id: Icaa2d7cb37cdb8c1805cd978b4e5ffda78a29740
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${fw_name}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
ADD_SUBDIRECTORY(tests/thread-test)
+IF(UNITTEST)
+ADD_SUBDIRECTORY(tests/unittest)
+ENDIF(UNITTEST)
IF(UNIX)
%files test
%manifest %{name}.manifest
%attr(777,network_fw,network_fw) %{_bindir}/thread-test
+%if 0%{?gcov:1}
%attr(777,network_fw,network_fw) %{_bindir}/thread-unittest
+%endif
%if 0%{?gcov:1}
%files gcov