Updated ia32 toolchain with system / processor (#12784)

* Updated ia32 toolchain with system / processor

* Allow pkg-config during cross-compilation

* added error message

* Search TBB using tbb.pc as well

* WA

* Fix for yocto

* Added print

* Use tbb.pc only when system libs are enabled

* Improved OpenVINOConfig.cmake

* Don't find pkg-config as required
This commit is contained in:
Ilya Lavrenov authored and GitHub committed 2022-09-01 14:33:47 +04:00
1 parent 6c4cc81465
commit e19df6f85f
15 files changed
+176 -67

No files matched your search

+4 -1
View File
@@ -53,10 +53,13 @@ if (NOT (OpenCL_FOUND AND OpenCL_HEADERS))
endif()
# try to find VA libraries
if(NOT CMAKE_CROSSCOMPILING)
if(NOT ANDROID)
find_package(PkgConfig QUIET)
if(PkgConfig_FOUND)
pkg_search_module(libva QUIET IMPORTED_TARGET libva)
if(libva_FOUND)
message(STATUS "${PKG_CONFIG_EXECUTABLE}: libva (${libva_VERSION}) is found at ${libva_PREFIX}")
endif()
endif()
endif()