From 7eae9c153e4622802a7c2c8b318f68692f35890f Mon Sep 17 00:00:00 2001 From: Robert Schumacher Date: Wed, 14 Mar 2018 02:56:49 -0700 Subject: [PATCH] [libmysql] Clarify support message --- ports/libmysql/portfile.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/libmysql/portfile.cmake b/ports/libmysql/portfile.cmake index d3a7a569d2..6c60d0ccc1 100644 --- a/ports/libmysql/portfile.cmake +++ b/ports/libmysql/portfile.cmake @@ -6,8 +6,8 @@ if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore") message(FATAL_ERROR "libmysql cannot currently be cross-compiled for UWP") endif() -if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x86") - message(FATAL_ERROR "32-bit builds are not supported by libmysql.") +if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x86" AND NOT CMAKE_SYSTEM_NAME OR CMAKE_SYSTEM_NAME STREQUAL "WindowsStore") + message(FATAL_ERROR "Oracle has dropped support in libmysql for 32-bit Windows.") endif() include(vcpkg_common_functions)