From 54c2792f72b713a8317a279b3911020759557e48 Mon Sep 17 00:00:00 2001 From: Arseniy Obolenskiy Date: Tue, 18 Feb 2025 08:41:00 +0100 Subject: [PATCH] Fix clang-tidy executable path (#29041) ### Details: - Fix clang-tidy executable detection ### Tickets: - N/A Co-authored-by: Alina Kladieva --- cmake/developer_package/plugins/plugins.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/developer_package/plugins/plugins.cmake b/cmake/developer_package/plugins/plugins.cmake index 0cf7606f7e7f12..3fabab67d8618d 100644 --- a/cmake/developer_package/plugins/plugins.cmake +++ b/cmake/developer_package/plugins/plugins.cmake @@ -109,7 +109,7 @@ function(ov_add_plugin) if (OV_PLUGIN_ADD_CLANG_TIDY) if (ENABLE_CLANG_TIDY) set_target_properties(${OV_PLUGIN_NAME} PROPERTIES - CXX_CLANG_TIDY "clang-tidy-${CLANG_TIDY_REQUIRED_VERSION};--extra-arg=-Wno-unused-command-line-argument") + CXX_CLANG_TIDY "${CLANG_TIDY};--extra-arg=-Wno-unused-command-line-argument") endif() endif()