From b351bf74f251ec249e167e981d9727c7d290e4d7 Mon Sep 17 00:00:00 2001 From: Hyunsoo Park Date: Thu, 7 Nov 2019 15:12:33 +0900 Subject: [PATCH] Fix wrong PC NAME and add library link. PC NAME of common package is set wrong because of misspellings. And stdc++fs was not linked on common package. So i changed these to right way. Change-Id: I410fe525dbf2f2c677c044329b603928a8f1772a Signed-off-by: Hyunsoo Park --- CMakeLists.txt | 4 ++-- packaging/inference-engine-interface.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3137cee..2476ab7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,7 +45,7 @@ SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=${LIB_INSTALL_DIR}") aux_source_directory(common SOURCES) ADD_LIBRARY(${fw_name_common} SHARED ${SOURCES}) -TARGET_LINK_LIBRARIES(${fw_name_common} dlog iniparser) +TARGET_LINK_LIBRARIES(${fw_name_common} dlog iniparser stdc++fs) SET_TARGET_PROPERTIES(${fw_name_common} @@ -63,7 +63,7 @@ INSTALL( PATTERN "*.h" ) -SET(PC_NAME ${fw_namefw_name_common_vision}) +SET(PC_NAME ${fw_name_common}) SET(PC_REQUIRED ${pc_dependents}) SET(PC_LDFLAGS -l${fw_name_common}) SET(PC_CFLAGS -I\${includedir}/media) diff --git a/packaging/inference-engine-interface.spec b/packaging/inference-engine-interface.spec index c091e0d..29c213a 100644 --- a/packaging/inference-engine-interface.spec +++ b/packaging/inference-engine-interface.spec @@ -1,7 +1,7 @@ Name: inference-engine-interface Summary: Interface of inference engines Version: 0.0.1 -Release: 12 +Release: 13 Group: Multimedia/Framework License: Apache-2.0 Source0: %{name}-%{version}.tar.gz -- 2.34.1