1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-21 14:00:51 +03:00

ci: fix cmake warning with AppVeyor WinCNG builds (#883)

```
CMake Warning:
  Manually-specified variables were not used by the project:

    OPENSSL_ROOT_DIR
```

Follow-up to 0834b9bcc8
This commit is contained in:
Viktor Szakats
2023-03-27 11:27:05 +02:00
committed by GitHub
parent 71cae949d5
commit a3d42f41d0

View File

@@ -80,7 +80,7 @@ install:
build_script:
- ps: |
if($env:PLATFORM -eq "x64") { $env:GENERATOR = "$env:GENERATOR Win64" }
if($env:SKIP_CTEST -ne "yes") {
if($env:SKIP_CTEST -ne "yes" -and $env:CRYPTO_BACKEND -eq "OpenSSL") {
if($env:PLATFORM -eq "x64") {
$env:CMAKE_ARG = "-DOPENSSL_ROOT_DIR=C:/OpenSSL-v111-Win64"
} elseif($env:PLATFORM -eq "x86") {