From 979ee9b97ec06ba5a01446525d7f4060dc7d5874 Mon Sep 17 00:00:00 2001 From: y Date: Tue, 9 Nov 2021 23:29:15 +0300 Subject: [PATCH] Fixed samples build with THREADING=SEQ --- cmake/templates/OpenVINOConfig.cmake.in | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cmake/templates/OpenVINOConfig.cmake.in b/cmake/templates/OpenVINOConfig.cmake.in index 5b9cdae005d3c9..bb21d19b400d48 100644 --- a/cmake/templates/OpenVINOConfig.cmake.in +++ b/cmake/templates/OpenVINOConfig.cmake.in @@ -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)