From bffa118e6d290319fd47db7c5e089e310c749d7d Mon Sep 17 00:00:00 2001 From: Billy O'Neal Date: Thu, 9 Jan 2025 05:26:31 -0800 Subject: [PATCH] Fix comparing SYSTEM_PROCESSOR with win32. (#4374) --- submodules/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/submodules/CMakeLists.txt b/submodules/CMakeLists.txt index 4bf8117629..728744f4c0 100644 --- a/submodules/CMakeLists.txt +++ b/submodules/CMakeLists.txt @@ -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") @@ -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")