From e5e9f2526aad20978748e03b8e0e22683e4a3ae7 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Mon, 9 Sep 2019 17:11:26 +0200 Subject: [PATCH] Dev: Fix CMake generator platform for VS 2019 in PS scripts --- tools/win32/configure-dev.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/win32/configure-dev.ps1 b/tools/win32/configure-dev.ps1 index a1f04ac6a..c905ca9a0 100644 --- a/tools/win32/configure-dev.ps1 +++ b/tools/win32/configure-dev.ps1 @@ -24,6 +24,9 @@ if (-not ($env:PATH -contains $env:CMAKE_PATH)) { if (-not (Test-Path env:CMAKE_GENERATOR)) { $env:CMAKE_GENERATOR = 'Visual Studio 16 2019' } +if (-not (Test-Path env:CMAKE_GENERATOR_PLATFORM)) { + $env:CMAKE_GENERATOR_PLATFORM = 'x64' +} if (-not (Test-Path env:OPENSSL_ROOT_DIR)) { $env:OPENSSL_ROOT_DIR = 'c:\local\OpenSSL-Win64' }