mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-28 06:32:11 +00:00
aedi: remove obsolete sdl2 patch
clang from xcode 15 drops support for macos sdk older than 11.3 to build c++ code, it cannot locate standard library headers anymore without ability to use older macos sdks, it doesn't make any sense to disable gamecontroller and corehaptic support
This commit is contained in:
parent
9d67d1d969
commit
a79b497900
2 changed files with 1 additions and 13 deletions
|
@ -270,8 +270,7 @@ class Sdl2Target(base.CMakeStaticDependencyTarget):
|
||||||
def prepare_source(self, state: BuildState):
|
def prepare_source(self, state: BuildState):
|
||||||
state.download_source(
|
state.download_source(
|
||||||
'https://github.com/libsdl-org/SDL/releases/download/release-2.28.4/SDL2-2.28.4.tar.gz',
|
'https://github.com/libsdl-org/SDL/releases/download/release-2.28.4/SDL2-2.28.4.tar.gz',
|
||||||
'888b8c39f36ae2035d023d1b14ab0191eb1d26403c3cf4d4d5ede30e66a4942c',
|
'888b8c39f36ae2035d023d1b14ab0191eb1d26403c3cf4d4d5ede30e66a4942c')
|
||||||
patches='sdl2-no-gamecontroller+corehaptic')
|
|
||||||
|
|
||||||
def configure(self, state: BuildState):
|
def configure(self, state: BuildState):
|
||||||
opts = state.options
|
opts = state.options
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- a/CMakeLists.txt
|
|
||||||
+++ b/CMakeLists.txt
|
|
||||||
@@ -2072,7 +2072,7 @@
|
|
||||||
#import <Foundation/Foundation.h>
|
|
||||||
#import <CoreHaptics/CoreHaptics.h>
|
|
||||||
int main() { return 0; }" HAVE_FRAMEWORK_COREHAPTICS)
|
|
||||||
- if(HAVE_FRAMEWORK_GAMECONTROLLER AND HAVE_FRAMEWORK_COREHAPTICS)
|
|
||||||
+ if(0)
|
|
||||||
# Only enable MFI if we also have CoreHaptics to ensure rumble works
|
|
||||||
set(SDL_JOYSTICK_MFI 1)
|
|
||||||
set(SDL_FRAMEWORK_GAMECONTROLLER 1)
|
|
Loading…
Reference in a new issue