diff --git a/.gitmodules b/.gitmodules index 5e6ce54915..126b75c016 100644 --- a/.gitmodules +++ b/.gitmodules @@ -52,3 +52,6 @@ [submodule "zstd"] path = externals/zstd url = https://github.com/facebook/zstd.git +[submodule "libyuv"] + path = externals/libyuv + url = https://github.com/lemenkov/libyuv.git diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 24e881b19d..9d527d356e 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -129,3 +129,10 @@ endif() # lodepng add_subdirectory(lodepng) + +# (xperia64): Only use libyuv on Android b/c of build issues on Windows and mandatory JPEG +if(ANDROID) + # libyuv + add_subdirectory(libyuv) + target_include_directories(yuv INTERFACE ./libyuv/include) +endif() diff --git a/externals/libyuv b/externals/libyuv new file mode 160000 index 0000000000..19d71f6b35 --- /dev/null +++ b/externals/libyuv @@ -0,0 +1 @@ +Subproject commit 19d71f6b351fe992ae34b114eebd872c383a6bdb