Add libyuv (#5623)
* Add libyuv * Only use libyuv on Android Co-authored-by: Marshall Mohror <mohror64@gmail.com>
This commit is contained in:
parent
64b502aad3
commit
1911c9791e
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -52,3 +52,6 @@
|
|||||||
[submodule "zstd"]
|
[submodule "zstd"]
|
||||||
path = externals/zstd
|
path = externals/zstd
|
||||||
url = https://github.com/facebook/zstd.git
|
url = https://github.com/facebook/zstd.git
|
||||||
|
[submodule "libyuv"]
|
||||||
|
path = externals/libyuv
|
||||||
|
url = https://github.com/lemenkov/libyuv.git
|
||||||
|
7
externals/CMakeLists.txt
vendored
7
externals/CMakeLists.txt
vendored
@ -129,3 +129,10 @@ endif()
|
|||||||
|
|
||||||
# lodepng
|
# lodepng
|
||||||
add_subdirectory(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()
|
||||||
|
1
externals/libyuv
vendored
Submodule
1
externals/libyuv
vendored
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 19d71f6b351fe992ae34b114eebd872c383a6bdb
|
Loading…
Reference in New Issue
Block a user