mirror of
https://github.com/obgm/libcoap.git
synced 2026-10-27 21:22:33 +03:00
Windows: Fix workflows OpenSSL install
This commit is contained in:
1 parent
342a2d0893
commit
9fbce393d9
3 files changed
+16
-5
No files matched your search
@@ -8,6 +8,15 @@ if exist NoTLS rd /s /q NoTLS
|
||||
|
||||
cd ..
|
||||
|
||||
REM Need to set OPENSSL_INSTALL_PATH so we can build with OpenSSL
|
||||
IF EXIST "C:\Program Files\OpenSSL\include\openssl\ssl.h" (
|
||||
SET "OPENSSL_INSTALL_PATH=C:\Program Files\OpenSSL\"
|
||||
) ELSE (
|
||||
SET "OPENSSL_INSTALL_PATH=C:\Program Files\OpenSSL-Win64\")
|
||||
)
|
||||
|
||||
echo OPENSSL_INSTALL_PATH = %OPENSSL_INSTALL_PATH%
|
||||
|
||||
rem MSBuild.exe ./win32/libcoap.sln /p:Configuration=NoTLS /p:Platform=x64 /warnaserror
|
||||
MSBuild.exe ./win32/libcoap.sln /p:Platform=x64 /warnaserror
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
IF NOT EXIST "C:\Program Files\OpenSSL\include\openssl\ssl.h" (
|
||||
choco install openssl --no-progress
|
||||
) ELSE (
|
||||
echo OpenSSL already installed.
|
||||
)
|
||||
Reference in new issue
Block a user