From 41e580152a148e1dc52b3eea3bfbda438232c08f Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Thu, 12 Oct 2023 23:23:18 +0800 Subject: [PATCH] Removed check for openvini::runtime::c in samples --- samples/cpp/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/samples/cpp/CMakeLists.txt b/samples/cpp/CMakeLists.txt index 5051bc742927e7..de884bb05d279c 100644 --- a/samples/cpp/CMakeLists.txt +++ b/samples/cpp/CMakeLists.txt @@ -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)