From 7c2a6ea5f2b10e3d4a0e901e95d3ba89c29f07f3 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 26 May 2022 18:31:31 -0700 Subject: [PATCH] Removed 64-bit check for Apple We build the SDL framework for macOS, iOS, and tvOS, including 32-bit and 64-bit architectures. Since this file will actually be included in the framework you're linking, it should be fine to use. --- .../pkg-support/resources/CMake/sdl2-config-version.cmake | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Xcode/SDL/pkg-support/resources/CMake/sdl2-config-version.cmake b/Xcode/SDL/pkg-support/resources/CMake/sdl2-config-version.cmake index bbd2284e1..feea76e5f 100644 --- a/Xcode/SDL/pkg-support/resources/CMake/sdl2-config-version.cmake +++ b/Xcode/SDL/pkg-support/resources/CMake/sdl2-config-version.cmake @@ -46,9 +46,3 @@ endif() if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "") set(PACKAGE_VERSION_UNSUITABLE TRUE) endif() - -# check that the installed version has the same 32/64bit-ness as the one which is currently searching: -if(NOT (CMAKE_SIZEOF_VOID_P STREQUAL "8")) - set(PACKAGE_VERSION "${PACKAGE_VERSION} (arm64+x64)") - set(PACKAGE_VERSION_UNSUITABLE TRUE) -endif()