From bc11496dcbb5ac7de2aef63611e8cfeeea0a0111 Mon Sep 17 00:00:00 2001 From: Abhishek Gola Date: Fri, 19 Jun 2026 15:32:54 +0530 Subject: [PATCH] disable mlas assembly on windows --- 3rdparty/mlas/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/3rdparty/mlas/CMakeLists.txt b/3rdparty/mlas/CMakeLists.txt index c773ec0004..368b168f38 100644 --- a/3rdparty/mlas/CMakeLists.txt +++ b/3rdparty/mlas/CMakeLists.txt @@ -71,6 +71,10 @@ set(mlas_platform_srcs) set(OPENCV_DNN_MLAS_ENABLED 0 CACHE INTERNAL "" FORCE) set(OPENCV_DNN_MLAS_SKIP_REASON "" CACHE INTERNAL "" FORCE) +if(WIN32) + return() +endif() + # Probe ASM language once. check_language(ASM) is a no-op when # CMAKE_ASM_COMPILER is already set in cache — and the Android NDK toolchain # pre-sets it for every ABI. So on Android the guard falls through to