瀏覽代碼

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.
Sam Lantinga 3 年之前
父節點
當前提交
7c2a6ea5f2
共有 1 個文件被更改,包括 0 次插入6 次删除
  1. 0 6
      Xcode/SDL/pkg-support/resources/CMake/sdl2-config-version.cmake

+ 0 - 6
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()