Dev: Fix CMake generator platform for VS 2019 in PS scripts

This commit is contained in:
Michael Friedrich 2019-09-09 17:11:26 +02:00
parent c5e68fb05f
commit e5e9f2526a
1 changed files with 3 additions and 0 deletions

View File

@ -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'
}