mirror of https://github.com/Icinga/icinga2.git
Dev: Fix CMake generator platform for VS 2019 in PS scripts
This commit is contained in:
parent
c5e68fb05f
commit
e5e9f2526a
|
@ -24,6 +24,9 @@ if (-not ($env:PATH -contains $env:CMAKE_PATH)) {
|
||||||
if (-not (Test-Path env:CMAKE_GENERATOR)) {
|
if (-not (Test-Path env:CMAKE_GENERATOR)) {
|
||||||
$env:CMAKE_GENERATOR = 'Visual Studio 16 2019'
|
$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)) {
|
if (-not (Test-Path env:OPENSSL_ROOT_DIR)) {
|
||||||
$env:OPENSSL_ROOT_DIR = 'c:\local\OpenSSL-Win64'
|
$env:OPENSSL_ROOT_DIR = 'c:\local\OpenSSL-Win64'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue