Skip to content

Commit

Permalink
Fixed samples build with THREADING=SEQ
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov committed Nov 9, 2021
1 parent 8388a75 commit 979ee9b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cmake/templates/OpenVINOConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,7 @@ if(THREADING STREQUAL "TBB" OR THREADING STREQUAL "TBB_AUTO" AND NOT TBB_FOUND)
endif()
endif()

if(THREADING STREQUAL "TBB" OR
THREADING STREQUAL "TBB_AUTO" OR
THREADING STREQUAL "OMP")
_ov_find_dependency(Threads)
endif()
_ov_find_dependency(Threads)

if(NOT TARGET inference_engine)
set(_ov_as_external_package ON)
Expand Down

0 comments on commit 979ee9b

Please sign in to comment.