Skip to content

Commit

Permalink
Fix comparing SYSTEM_PROCESSOR with win32. (#4374)
Browse files Browse the repository at this point in the history
  • Loading branch information
BillyONeal authored Jan 9, 2025
1 parent 4f61d6f commit bffa118
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions submodules/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ if (WIN32)
set(QUIC_OPENSSL_WIN_ARCH "VC-WIN64-ARM")
elseif (${SYSTEM_PROCESSOR} STREQUAL "arm")
set(QUIC_OPENSSL_WIN_ARCH "VC-WIN32-ARM")
elseif (${SYSTEM_PROCESSOR} STREQUAL "win32")
elseif (${SYSTEM_PROCESSOR} STREQUAL "win32" OR ${SYSTEM_PROCESSOR} STREQUAL "x86")
set(QUIC_OPENSSL_WIN_ARCH "VC-WIN32-ONECORE")
elseif (${SYSTEM_PROCESSOR} STREQUAL "x64" OR ${SYSTEM_PROCESSOR} STREQUAL "amd64")
set(QUIC_OPENSSL_WIN_ARCH "VC-WIN64A-ONECORE")
Expand All @@ -75,7 +75,7 @@ if (WIN32)
set(QUIC_OPENSSL_WIN_ARCH "VC-WIN64-ARM")
elseif (${SYSTEM_PROCESSOR} STREQUAL "arm")
set(QUIC_OPENSSL_WIN_ARCH "VC-WIN32-ARM")
elseif (${SYSTEM_PROCESSOR} STREQUAL "win32")
elseif (${SYSTEM_PROCESSOR} STREQUAL "win32" OR ${SYSTEM_PROCESSOR} STREQUAL "x86")
set(QUIC_OPENSSL_WIN_ARCH "VC-WIN32")
elseif (${SYSTEM_PROCESSOR} STREQUAL "x64" OR ${SYSTEM_PROCESSOR} STREQUAL "amd64")
set(QUIC_OPENSSL_WIN_ARCH "VC-WIN64A")
Expand Down

0 comments on commit bffa118

Please sign in to comment.