Skip to content

Commit 238ff56

Browse files
committed
Merge pull request #7 from SDWebImage/bugfix/modular_headers_x265
Fix another issue during the modular_headers integration on CocoaPods
2 parents d391f0b + fbdbc07 commit 238ff56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libheif.podspec

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ HEIF is a new image file format employing HEVC (h.265) image coding for the best
6464
ss.preserve_path = 'libheif'
6565
ss.xcconfig = {
6666
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) HAVE_X265=1',
67+
'WARNING_CFLAGS' => '$(inherited) -Wno-module-import-in-extern-c', # import of C++ module 'libx265' appears within extern "C" language linkage specification
6768
'HEADER_SEARCH_PATHS' => '$(inherited) ${PODS_ROOT}/libheif/ ${PODS_TARGET_SRCROOT}/ ${PODS_ROOT}/libx265/source/' # Fix #include <x265.h>
6869
}
6970
end

0 commit comments

Comments
 (0)