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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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