diff --git a/modules/custom_operations/user_ie_extensions/tokenizer/CMakeLists.txt b/modules/custom_operations/user_ie_extensions/tokenizer/CMakeLists.txt index 8689c7a8a..3eefe7f14 100644 --- a/modules/custom_operations/user_ie_extensions/tokenizer/CMakeLists.txt +++ b/modules/custom_operations/user_ie_extensions/tokenizer/CMakeLists.txt @@ -31,6 +31,11 @@ if(SUGGEST_OVERRIDE_SUPPORTED) set(cxx_flags "${cxx_flags} -Wno-suggest-override") endif() +if(WIN32 AND X86_64) + # disable compiler warning C4703 + set(cxx_flags "${cxx_flags} /wd4703") +endif() + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${cxx_flags} ${c_cxx_flags}") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${c_cxx_flags}")