Browse Source

projects: fix third-party SSL library build paths for Visual Studio

The paths used by the build batch files were inconsistent with those in
the Visual Studio project files.

Closes #8991
Steve Holme 1 year ago
parent
commit
aea8ac14df
2 changed files with 6 additions and 6 deletions
  1. 3 3
      projects/build-openssl.bat
  2. 3 3
      projects/build-wolfssl.bat

+ 3 - 3
projects/build-openssl.bat

@@ -75,7 +75,7 @@ rem ***************************************************************************
       set "VC_PATH=Microsoft Visual Studio 14.0\VC"
     ) else if /i "%~1" == "vc14.1" (
       set VC_VER=14.1
-      set VC_DESC=VC14.1
+      set VC_DESC=VC14.10
 
       rem Determine the VC14.1 path based on the installed edition in descending
       rem order (Enterprise, then Professional and finally Community)
@@ -88,7 +88,7 @@ rem ***************************************************************************
       )
     ) else if /i "%~1" == "vc14.2" (
       set VC_VER=14.2
-      set VC_DESC=VC14.2
+      set VC_DESC=VC14.20
 
       rem Determine the VC14.2 path based on the installed edition in descending
       rem order (Enterprise, then Professional and finally Community)
@@ -101,7 +101,7 @@ rem ***************************************************************************
       )
     ) else if /i "%~1" == "vc14.3" (
       set VC_VER=14.3
-      set VC_DESC=VC14.3
+      set VC_DESC=VC14.30
 
       rem Determine the VC14.3 path based on the installed edition in descending
       rem order (Enterprise, then Professional and finally Community)

+ 3 - 3
projects/build-wolfssl.bat

@@ -78,7 +78,7 @@ rem ***************************************************************************
     set "VC_PATH=Microsoft Visual Studio 14.0\VC"
   ) else if /i "%~1" == "vc14.1" (
     set VC_VER=14.1
-    set VC_DESC=VC14.1
+    set VC_DESC=VC14.10
     set VC_TOOLSET=v141
 
     rem Determine the VC14.1 path based on the installed edition in descending
@@ -92,7 +92,7 @@ rem ***************************************************************************
     )
   ) else if /i "%~1" == "vc14.2" (
     set VC_VER=14.2
-    set VC_DESC=VC14.2
+    set VC_DESC=VC14.20
     set VC_TOOLSET=v142
 
     rem Determine the VC14.2 path based on the installed edition in descending
@@ -106,7 +106,7 @@ rem ***************************************************************************
     )
   ) else if /i "%~1" == "vc14.3" (
     set VC_VER=14.3
-    set VC_DESC=VC14.3
+    set VC_DESC=VC14.30
     set VC_TOOLSET=v143
 
     rem Determine the VC14.3 path based on the installed edition in descending