From 35c257c019fa1826ed6d1e877ee8a12f23285ba6 Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Wed, 13 Feb 2019 15:58:48 -0800 Subject: [PATCH] Remove 'Release' config argument --- packages/grpc-tools/CMakeLists.txt | 2 +- packages/grpc-tools/build_binaries.ps1 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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" }