diff --git a/SDWebImageWebPCoder.podspec b/SDWebImageWebPCoder.podspec index 4d3cc13..06a1dc0 100644 --- a/SDWebImageWebPCoder.podspec +++ b/SDWebImageWebPCoder.podspec @@ -22,11 +22,11 @@ This is a SDWebImage coder plugin to support WebP image. s.private_header_files = 'SDWebImageWebPCoder/Private/*.h' s.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1', - 'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/libwebp/src' + 'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(PODS_ROOT)/libwebp/src' } s.watchos.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1 WEBP_USE_INTRINSICS=1', - 'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/libwebp/src' + 'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(PODS_ROOT)/libwebp/src' } s.framework = 'CoreGraphics' s.dependency 'SDWebImage/Core', '~> 5.17'