externals: Add libyuv and jnigraphics
This commit is contained in:
parent
e2142b7461
commit
da71226961
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -49,3 +49,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
|
||||||
|
4
externals/CMakeLists.txt
vendored
4
externals/CMakeLists.txt
vendored
@ -129,3 +129,7 @@ endif()
|
|||||||
|
|
||||||
# lodepng
|
# lodepng
|
||||||
add_subdirectory(lodepng)
|
add_subdirectory(lodepng)
|
||||||
|
|
||||||
|
# libyuv
|
||||||
|
add_subdirectory(libyuv)
|
||||||
|
target_include_directories(yuv INTERFACE ./libyuv/include)
|
||||||
|
1
externals/libyuv
vendored
Submodule
1
externals/libyuv
vendored
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 45f1f2b201672b699b35da20267a5f2c41318264
|
@ -19,6 +19,6 @@ add_library(main SHARED
|
|||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(main PRIVATE common core input_common network)
|
target_link_libraries(main PRIVATE common core input_common network)
|
||||||
target_link_libraries(main PRIVATE android EGL glad inih log)
|
target_link_libraries(main PRIVATE android jnigraphics EGL glad inih log yuv)
|
||||||
|
|
||||||
set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} main)
|
set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} main)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user