From: Hyunsoo Park Date: Thu, 7 Nov 2019 06:12:33 +0000 (+0900) Subject: Fix wrong PC NAME and add library link. X-Git-Tag: accepted/tizen/unified/20200115.123357^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a20d192e6878547557aa4cf0fca064bcbf3aa8f;p=platform%2Fcore%2Fmultimedia%2Finference-engine-interface.git 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 --- 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