From f4aa7845f2446c87fade098c5ae12335436b3ba9 Mon Sep 17 00:00:00 2001 From: Jalin Wang Date: Fri, 7 Aug 2026 10:13:18 +0800 Subject: [PATCH] fix(build): allow nmake for Snowball codegen on Windows (#661) fix Snowball building when MSYS2 does not present on Windows --- thirdparty/snowball/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thirdparty/snowball/CMakeLists.txt b/thirdparty/snowball/CMakeLists.txt index 92d6756..c93efaa 100644 --- a/thirdparty/snowball/CMakeLists.txt +++ b/thirdparty/snowball/CMakeLists.txt @@ -4,7 +4,7 @@ set(SNOWBALL_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/snowball-3.1.1") set(SNOWBALL_BUILD_DIR "${CMAKE_CURRENT_BINARY_DIR}/snowball-codegen") set(SNOWBALL_HOST_CC "" CACHE STRING "Optional host C compiler for building the Snowball code generator") -find_program(_SNOWBALL_MAKE NAMES make gmake REQUIRED) +find_program(_SNOWBALL_MAKE NAMES make gmake nmake REQUIRED) # --------------------------------------------------------------------------- # Parse modules.txt → UTF-8 algorithm list