Skip to content

Commit

Permalink
Merge pull request #107 from SDWebImage/bugfix/podspec
Browse files Browse the repository at this point in the history
Fix the podspec issue for compatible header search path
  • Loading branch information
dreampiggy authored Mar 26, 2024
2 parents 11e7ea4 + 5f437be commit 1e36f38
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions SDWebImageWebPCoder.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ This is a SDWebImage coder plugin to support WebP image.
s.source_files = 'SDWebImageWebPCoder/Classes/**/*', 'SDWebImageWebPCoder/Private/*.h', 'SDWebImageWebPCoder/Module/SDWebImageWebPCoder.h'
s.private_header_files = 'SDWebImageWebPCoder/Private/*.h'
s.xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1',
'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/libwebp/src'
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1'
}
s.watchos.xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1 WEBP_USE_INTRINSICS=1',
'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/libwebp/src'
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1 WEBP_USE_INTRINSICS=1'
}
s.pod_target_xcconfig = {
'USER_HEADER_SEARCH_PATHS' => '$(PODS_ROOT)/libwebp/src'
}
s.framework = 'CoreGraphics'
s.dependency 'SDWebImage/Core', '~> 5.17'
Expand Down

0 comments on commit 1e36f38

Please sign in to comment.