Skip to content

Commit

Permalink
Removed check for openvini::runtime::c in samples
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov committed Oct 12, 2023
1 parent 83c593b commit 41e5801
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions samples/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 41e5801

Please sign in to comment.