Use TBB dependency only for static libraries (#13535)

* Use TBB dependency only for static libraries

* Rename IE_EXTRA_MODULES to OPENVINO_EXTRA_MODULES

* call find_tbb in DevPackage
This commit is contained in:
Ilya Lavrenov authored and GitHub committed 2022-10-19 14:22:18 +04:00
1 parent e2b0313785
commit 88c2b28bd1
15 files changed
+160 -139

No files matched your search

+1 -1
View File
@@ -364,7 +364,7 @@ cd ../openvino
```
3. (CMake configure) OpenVINO project uses a CMake-based build system. In the created `build` directory, run `cmake` to fetch project dependencies and create build rules:
```sh
cmake -DCMAKE_BUILD_TYPE=Release -DIE_EXTRA_MODULES=../openvino_contrib/modules/arm_plugin ..
cmake -DCMAKE_BUILD_TYPE=Release -DOPENVINO_EXTRA_MODULES=../openvino_contrib/modules/arm_plugin ..
```
> **Note:** By default OpenVINO CMake scripts try to introspect the system and enable all possible functionality based on that. You can look at the CMake output and see warnings, which show that some functionality is turned off and the corresponding reason, guiding what to do to install additionally to enable unavailable functionality. Additionally, you can change CMake options to enable / disable some functionality, add / remove compilation flags, provide custom version of dependencies like TBB, PugiXML, OpenCV, Protobuf. Please, read [CMake options for custom compilation](CMakeOptionsForCustomCompilation) for this information.
4. (CMake build) Build OpenVINO project: