From ffcd65747e02700652191fb32efac6083baabcc2 Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Sat, 22 Dec 2018 21:02:45 +0800 Subject: [PATCH] Fix the de265 macro --- SDWebImageHEIFCoder.xcodeproj/project.pbxproj | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/SDWebImageHEIFCoder.xcodeproj/project.pbxproj b/SDWebImageHEIFCoder.xcodeproj/project.pbxproj index 360636f..1515ec4 100644 --- a/SDWebImageHEIFCoder.xcodeproj/project.pbxproj +++ b/SDWebImageHEIFCoder.xcodeproj/project.pbxproj @@ -497,7 +497,7 @@ GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", - HAVE_X265, + HAVE_LIBDE265, ); INFOPLIST_FILE = "$(SRCROOT)/SDWebImageHEIFCoder/Module/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; @@ -527,7 +527,7 @@ "$(inherited)", "$(PROJECT_DIR)/Carthage/Build/iOS", ); - GCC_PREPROCESSOR_DEFINITIONS = HAVE_X265; + GCC_PREPROCESSOR_DEFINITIONS = HAVE_LIBDE265; INFOPLIST_FILE = "$(SRCROOT)/SDWebImageHEIFCoder/Module/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; @@ -559,6 +559,11 @@ "$(PROJECT_DIR)/Carthage/Build/iOS", ); FRAMEWORK_VERSION = A; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + HAVE_LIBDE265, + ); INFOPLIST_FILE = "$(SRCROOT)/SDWebImageHEIFCoder/Module/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = ( @@ -591,6 +596,7 @@ "$(PROJECT_DIR)/Carthage/Build/iOS", ); FRAMEWORK_VERSION = A; + GCC_PREPROCESSOR_DEFINITIONS = HAVE_LIBDE265; INFOPLIST_FILE = "$(SRCROOT)/SDWebImageHEIFCoder/Module/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = ( @@ -620,6 +626,11 @@ "$(inherited)", "$(PROJECT_DIR)/Carthage/Build/tvOS", ); + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + HAVE_LIBDE265, + ); INFOPLIST_FILE = "$(SRCROOT)/SDWebImageHEIFCoder/Module/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = ( @@ -650,6 +661,7 @@ "$(inherited)", "$(PROJECT_DIR)/Carthage/Build/tvOS", ); + GCC_PREPROCESSOR_DEFINITIONS = HAVE_LIBDE265; INFOPLIST_FILE = "$(SRCROOT)/SDWebImageHEIFCoder/Module/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = ( @@ -681,6 +693,11 @@ "$(inherited)", "$(PROJECT_DIR)/Carthage/Build/watchOS", ); + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + HAVE_LIBDE265, + ); INFOPLIST_FILE = "$(SRCROOT)/SDWebImageHEIFCoder/Module/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = ( @@ -712,6 +729,7 @@ "$(inherited)", "$(PROJECT_DIR)/Carthage/Build/watchOS", ); + GCC_PREPROCESSOR_DEFINITIONS = HAVE_LIBDE265; INFOPLIST_FILE = "$(SRCROOT)/SDWebImageHEIFCoder/Module/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = (