修复Windows下的编译问题

This commit is contained in:
2025-03-10 14:45:15 +08:00
parent bd90f2f6f6
commit e831b8e862
4 changed files with 4 additions and 4 deletions

View File

@ -151,7 +151,7 @@ async function main() {
"-DMNN_AVX512=ON",
"-DMNN_BUILD_TOOLS=ON",
"-DMNN_BUILD_CONVERTER=OFF",
"-DMNN_WIN_RUNTIME_MT=OFF",
"-DMNN_WIN_RUNTIME_MT=ON",
], (root) => [
`set(MNN_INCLUDE_DIR ${JSON.stringify(path.join(root, "include"))})`,
`set(MNN_LIB_DIR ${JSON.stringify(path.join(root, "lib"))})`,