Removed check for openvini::runtime::c in samples (#20425)

This commit is contained in:
Ilya Lavrenov authored and GitHub committed 2023-10-12 19:33:24 +04:00
1 parent ccb43b77a7
commit 6519afd4d3
1 file changed
+1 -3
+1 -3
View File
@@ -214,9 +214,7 @@ macro(ov_add_sample)
find_package(Threads REQUIRED)
find_package(OpenVINO REQUIRED COMPONENTS Runtime)
# Conan does not generate openvino::runtime::c target
if(c_sample AND TARGET openvino::runtime::c)
if(c_sample)
set(ov_link_libraries openvino::runtime::c)
else()
set(ov_link_libraries openvino::runtime)