diff --git a/packages/grpc-tools/CMakeLists.txt b/packages/grpc-tools/CMakeLists.txt index 85c90dee..11d6e843 100644 --- a/packages/grpc-tools/CMakeLists.txt +++ b/packages/grpc-tools/CMakeLists.txt @@ -19,7 +19,7 @@ add_executable(grpc_node_plugin ) if (MSVC) - add_definitions(/MT) + add_definitions(/MTd) endif (MSVC) target_include_directories(grpc_node_plugin diff --git a/packages/grpc-tools/build_binaries.ps1 b/packages/grpc-tools/build_binaries.ps1 index f96e4b98..4af43784 100644 --- a/packages/grpc-tools/build_binaries.ps1 +++ b/packages/grpc-tools/build_binaries.ps1 @@ -33,11 +33,11 @@ foreach ($Arch in $ArchList) { $Generator = "Visual Studio 14 2015" } - & cmake.exe . --config Release + & cmake.exe . if ($LASTEXITCODE -ne 0) { throw "cmake failed" } - & cmake.exe --build . --config Release + & cmake.exe --build . if ($LASTEXITCODE -ne 0) { throw "cmake build failed" }