From 405f436639e410d2d0d838a535c11b0b90e2e587 Mon Sep 17 00:00:00 2001 From: Honeybunch Date: Sat, 6 Aug 2022 18:55:18 -0700 Subject: [PATCH] Adding a comment explaining why we disable the redirect lib for windows on arm --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 09429600..b852b0d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -186,6 +186,8 @@ if(MI_USE_CXX) endif() if(NOT MI_DISABLE_REDIRECT) + # When compiling for windows on arm the mimalloc-redirect library is not available + # as it has not been pre-compiled and the source is not yet available. if(MSVC AND MSVC_C_ARCHITECTURE_ID MATCHES "ARM") set(MI_DISABLE_REDIRECT ON) message(WARNING "Disabling redirection lib is required on ARM (MI_DISABLE_REDIRECT=ON)")