diff --git a/tests/stress_tests/common/utils.cpp b/tests/stress_tests/common/utils.cpp index 8189af2d036..3da83ebc9cd 100644 --- a/tests/stress_tests/common/utils.cpp +++ b/tests/stress_tests/common/utils.cpp @@ -12,7 +12,7 @@ #include #include #else -#include +#include #include #endif diff --git a/thirdparty/gtest/CMakeLists.txt b/thirdparty/gtest/CMakeLists.txt index dc4da093f1f..3b1a012405a 100644 --- a/thirdparty/gtest/CMakeLists.txt +++ b/thirdparty/gtest/CMakeLists.txt @@ -33,7 +33,7 @@ foreach(target IN LISTS gtest_targets) set_target_properties(${target} PROPERTIES COMPILE_OPTIONS "${_target_cxx_flags}") endif() endif() - elseif(CMAKE_COMPILER_IS_GNUCXX OR OV_COMPILER_IS_CLANG OR + elseif(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "^(Apple)?Clang$" OR CMAKE_CXX_COMPILER_ID STREQUAL "Intel") target_compile_options(${target} PRIVATE -Wno-undef) if(CMAKE_COMPILER_IS_GNUCXX)