Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

Build yaml-cpp statically (#27251)

Maksim Doronin797b44155575
diff --git a/src/plugins/intel_npu/thirdparty/CMakeLists.txt b/src/plugins/intel_npu/thirdparty/CMakeLists.txt
index b064b5c7b9a..9edd3a95666 100644
--- a/src/plugins/intel_npu/thirdparty/CMakeLists.txt
+++ b/src/plugins/intel_npu/thirdparty/CMakeLists.txt
@@ -18,6 +18,7 @@ endif()
#
if(ENABLE_INTEL_NPU_PROTOPIPE)
+ set(YAML_BUILD_SHARED_LIBS OFF)
add_subdirectory(yaml-cpp EXCLUDE_FROM_ALL)
# NB: Suppress warnings in yaml-cpp
if(SUGGEST_OVERRIDE_SUPPORTED)