Skip to content

Commit

Permalink
Merge pull request ibireme#91 from YuAo/patch-1
Browse files Browse the repository at this point in the history
Add a libwebp subpod
  • Loading branch information
ibireme authored Aug 8, 2017
2 parents c80e399 + dd39d67 commit 42ba209
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions YYImage.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,12 @@ Pod::Spec.new do |s|
webp.ios.vendored_frameworks = 'Vendor/WebP.framework'
end

s.subspec 'libwebp' do |libwebp|
libwebp.dependency 'YYImage/Core'
libwebp.dependency 'libwebp'
libwebp.xcconfig = {
'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/libwebp/src'
}
end

end

0 comments on commit 42ba209

Please sign in to comment.