Avoid global targets in thirdparty dependencies (#17755)

* Added dependencies via vcpkg

* Try to remove global imported targets

* Fix for conan

* Fixed RHEL case

* Fixed RHEL, U18 cases

* Returned OpenCV finding

* Update cmake/templates/OpenVINOConfig.cmake.in

Fixed IMPORTED_GLOBAL => GLOBAL in OpenVINOConfig.cmake.in template file

* Apply suggestions from code review

Properply used NAMES in find_package

* Fixed case with zlib

* Final fixes

* Fixes

* Removed CONFIG from find package ZLIB

* Fixed RHEL

* Reverted changes with gflags back

* Turn off LTO after thirdparty dependencies are built
This commit is contained in:
Ilya Lavrenov
2023-05-27 10:47:41 +04:00
committed by GitHub
parent b0b540aeaf
commit 6a562268d3
11 changed files with 155 additions and 150 deletions

View File

@@ -19,7 +19,7 @@ It is possible because not all interface symbols of OpenVINO Runtime libraries a
## System requirements
* CMake version 3.17 or higher must be used to build static OpenVINO libraries.
* CMake version 3.18 or higher must be used to build static OpenVINO libraries.
* Supported OSes:
* Windows x64
* Linux x64