mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-10-30 03:37:52 +00:00
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 changed files with 11 additions and 0 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -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
|
||||
|
|
7
externals/CMakeLists.txt
vendored
7
externals/CMakeLists.txt
vendored
|
@ -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()
|
||||
|
|
1
externals/libyuv
vendored
Submodule
1
externals/libyuv
vendored
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 19d71f6b351fe992ae34b114eebd872c383a6bdb
|
Loading…
Reference in a new issue