fix(build): allow nmake for Snowball codegen on Windows (#661)

fix Snowball building when MSYS2 does not present on Windows
This commit is contained in:
Jalin Wang
2026-08-07 10:13:18 +08:00
committed by GitHub
parent aff4420ae0
commit f4aa7845f2
+1 -1
View File
@@ -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