From 1a9253f752809d9dff74f71427da73f45fa834bc Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 31 Jul 2021 12:37:28 -0700 Subject: [PATCH] Removed unused IOS_DYLIB definition --- CMakeLists.txt | 1 - Xcode/SDL/SDL.xcodeproj/project.pbxproj | 8 -------- 2 files changed, 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6df265618..86ea5e66a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2592,7 +2592,6 @@ if(SDL_SHARED) endif() if(IOS OR TVOS) set_property(TARGET SDL2 APPEND_STRING PROPERTY COMPILE_FLAGS "-fobjc-arc") - target_compile_definitions(SDL2 PRIVATE IOS_DYLIB=1) endif() if(WAYLAND_LIBDECOR) target_include_directories(SDL2 PRIVATE "${libdecor_INCLUDE_DIRS}") diff --git a/Xcode/SDL/SDL.xcodeproj/project.pbxproj b/Xcode/SDL/SDL.xcodeproj/project.pbxproj index 21ceb2a3e..e58308512 100644 --- a/Xcode/SDL/SDL.xcodeproj/project.pbxproj +++ b/Xcode/SDL/SDL.xcodeproj/project.pbxproj @@ -10166,7 +10166,6 @@ "$(inherited)", "$(SDKROOT)/System/iOSSupport/System/Library/Frameworks", ); - GCC_PREPROCESSOR_DEFINITIONS = "IOS_DYLIB=1"; GCC_SYMBOLS_PRIVATE_EXTERN = YES; INSTALL_PATH = "@rpath"; SDKROOT = iphoneos; @@ -10183,7 +10182,6 @@ "$(inherited)", "$(SDKROOT)/System/iOSSupport/System/Library/Frameworks", ); - GCC_PREPROCESSOR_DEFINITIONS = "IOS_DYLIB=1"; GCC_SYMBOLS_PRIVATE_EXTERN = YES; INSTALL_PATH = "@rpath"; SDKROOT = iphoneos; @@ -10196,7 +10194,6 @@ buildSettings = { CLANG_ENABLE_OBJC_ARC = YES; EXECUTABLE_PREFIX = lib; - GCC_PREPROCESSOR_DEFINITIONS = "IOS_DYLIB=1"; GCC_SYMBOLS_PRIVATE_EXTERN = YES; INSTALL_PATH = "@rpath"; SDKROOT = appletvos; @@ -10208,7 +10205,6 @@ buildSettings = { CLANG_ENABLE_OBJC_ARC = YES; EXECUTABLE_PREFIX = lib; - GCC_PREPROCESSOR_DEFINITIONS = "IOS_DYLIB=1"; GCC_SYMBOLS_PRIVATE_EXTERN = YES; INSTALL_PATH = "@rpath"; SDKROOT = appletvos; @@ -10348,7 +10344,6 @@ "$(inherited)", "$(SDKROOT)/System/iOSSupport/System/Library/Frameworks", ); - GCC_PREPROCESSOR_DEFINITIONS = "IOS_DYLIB=1"; OTHER_LDFLAGS = "-liconv"; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2,6"; @@ -10364,7 +10359,6 @@ "$(inherited)", "$(SDKROOT)/System/iOSSupport/System/Library/Frameworks", ); - GCC_PREPROCESSOR_DEFINITIONS = "IOS_DYLIB=1"; OTHER_LDFLAGS = "-liconv"; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2,6"; @@ -10376,7 +10370,6 @@ buildSettings = { CLANG_ENABLE_OBJC_ARC = YES; CLANG_LINK_OBJC_RUNTIME = NO; - GCC_PREPROCESSOR_DEFINITIONS = "IOS_DYLIB=1"; OTHER_LDFLAGS = "-liconv"; SDKROOT = appletvos; }; @@ -10387,7 +10380,6 @@ buildSettings = { CLANG_ENABLE_OBJC_ARC = YES; CLANG_LINK_OBJC_RUNTIME = NO; - GCC_PREPROCESSOR_DEFINITIONS = "IOS_DYLIB=1"; OTHER_LDFLAGS = "-liconv"; SDKROOT = appletvos; };