Add pc file requires
authorKwanghoon Son <k.son@samsung.com>
Tue, 18 Jul 2023 06:14:29 +0000 (15:14 +0900)
committerKwanghoon Son <k.son@samsung.com>
Tue, 8 Aug 2023 06:31:45 +0000 (15:31 +0900)
Change-Id: I0537e93bd3be03fa3284915aa5a13753d6b74695
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
CMakeLists.txt
packaging/vision-source.spec
vision-source.pc.in

index 4de71e4..e5a01e8 100644 (file)
@@ -13,7 +13,7 @@ add_compile_definitions(INI_PATH="${SYSCONF_INSTALL_DIR}/vision_source.ini")
 
 target_compile_options(${PROJECT_NAME} PUBLIC ${${PROJECT_NAME}_DEP_CFLAGS})
 target_include_directories(${PROJECT_NAME} PUBLIC ${PROJECT_SOURCE_DIR}/include)
-target_link_libraries(${PROJECT_NAME} ${${PROJECT_NAME}_DEP_LIBRARIES} ${CMAKE_DL_LIBS})
+target_link_libraries(${PROJECT_NAME} ${${PROJECT_NAME}_DEP_LIBRARIES})
 
 # install packages
 install(
@@ -23,7 +23,7 @@ install(
         )
 
 set(PC_NAME ${PROJECT_NAME})
-set(PC_REQUIRED ${PROJECT_NAME})
+set(PC_REQUIRED "capi-media-tool")
 set(PC_LDFLAGS "-l${PROJECT_NAME}")
 
 configure_file(
index 43d4ae4..522e3f8 100644 (file)
@@ -1,6 +1,6 @@
 Name:        vision-source
 Summary:     vision source
-Version:     0.0.11
+Version:     0.0.12
 Release:     0
 Group:       Multimedia/Framework
 License:     Apache-2.0
index cde0c80..809c22f 100644 (file)
@@ -1,8 +1,5 @@
-
 # Package Information for pkg-config
 
-prefix=@PREFIX@
-exec_prefix=/usr
 libdir=@LIB_INSTALL_DIR@
 includedir=/usr/include/media