Fixed samples build with THREADING=SEQ

This commit is contained in:
y 2021-11-09 23:29:15 +03:00
parent 8388a7502d
commit 979ee9b97e

View File

@ -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()
if(NOT TARGET inference_engine)
set(_ov_as_external_package ON)