Commit 7c2a6ea5f2b10e3d4a0e901e95d3ba89c29f07f3

Sam Lantinga 2022-05-26T18:31:31

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.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 bbd2284..feea76e 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()