Added the `WEBP_USE_INTRINSICS` flag per https://github.com/rs/SDWebImage/pull/1595#issuecomment-225984546
This commit is contained in:
parent
5851f78aee
commit
1a2f81a5d5
|
@ -56,6 +56,10 @@ Pod::Spec.new do |s|
|
||||||
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1',
|
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1',
|
||||||
'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/libwebp/src'
|
'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 'SDWebImage/Core'
|
||||||
webp.dependency 'libwebp'
|
webp.dependency 'libwebp'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue