From 1a2f81a5d5cf3371aa66a38735603fef9f694e4b Mon Sep 17 00:00:00 2001 From: Bogdan Poplauschi Date: Fri, 26 Aug 2016 19:52:44 +0300 Subject: [PATCH] Added the `WEBP_USE_INTRINSICS` flag per https://github.com/rs/SDWebImage/pull/1595#issuecomment-225984546 --- SDWebImage.podspec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SDWebImage.podspec b/SDWebImage.podspec index bcdde91f..c3b964a1 100644 --- a/SDWebImage.podspec +++ b/SDWebImage.podspec @@ -56,6 +56,10 @@ Pod::Spec.new do |s| 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1', 'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/libwebp/src' } + webp.watchos.xcconfig = { + 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1 WEBP_USE_INTRINSICS=1', + 'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/libwebp/src' + } webp.dependency 'SDWebImage/Core' webp.dependency 'libwebp' end