Drop test bianry 51/293251/1 accepted/tizen/8.0/unified/20231005.093532 accepted/tizen/unified/20230528.171041 tizen_8.0_m2_release
authorKwanghoon Son <k.son@samsung.com>
Tue, 23 May 2023 05:18:01 +0000 (14:18 +0900)
committerKwanghoon Son <k.son@samsung.com>
Tue, 23 May 2023 05:18:01 +0000 (14:18 +0900)
Issue description: /usr/bin/test-vision-source-v4l2 is not a PIE

Change-Id: Ib4634f8cdee5d8d9dcc10419a6b46d87151b5654
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
Link: https://code.sec.samsung.net/jira/browse/TSEVENDF-4805
CMakeLists.txt
packaging/vision-source-v4l2.spec

index b98e204..7efd88a 100644 (file)
@@ -1,7 +1,8 @@
 cmake_minimum_required(VERSION 3.0.0)
 project(vision-source-v4l2)
 
-OPTION(HAVE_LIBV4L2 "Option description" OFF)
+OPTION(HAVE_LIBV4L2 "USE libv4l2" OFF)
+OPTION(BUILD_TEST "Build test binary" OFF)
 
 include(FindPkgConfig)
 if(HAVE_LIBV4L2)
@@ -23,4 +24,6 @@ target_include_directories(${PROJECT_NAME} PUBLIC ${${PROJECT_NAME}_DEP_INCLUDE_
 # install packages
 install(TARGETS ${PROJECT_NAME} DESTINATION ${LIB_INSTALL_DIR})
 
-add_subdirectory(test)
\ No newline at end of file
+if(BUILD_TEST)
+add_subdirectory(test)
+endif()
\ No newline at end of file
index d65b3f4..1e3cee7 100644 (file)
@@ -2,7 +2,7 @@
 
 Name:        vision-source-v4l2
 Summary:     vision source-v4l2
-Version:     0.0.6
+Version:     0.0.7
 Release:     0
 Group:       Multimedia/Framework
 License:     Apache-2.0
@@ -48,5 +48,4 @@ make %{?jobs:-j%jobs}
 
 %files
 %{_libdir}/*.so
-%{_bindir}/*
 %license LICENSE.APLv2