From a3d42f41d002c72c19fd39d9437e99607e1b3e2a Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 27 Mar 2023 11:27:05 +0200 Subject: [PATCH] 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 0834b9bcc85b90c78afff103f909b5a909b95e45 --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 36d66b6f..ce703f85 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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") {