add new converter: video -> block probabilities
This commit is contained in:
36
thirdparty/CMakeLists.txt
vendored
Normal file
36
thirdparty/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
|
||||
include(FetchContent)
|
||||
|
||||
|
||||
# ---- args ----
|
||||
# repository: https://github.com/Taywee/args
|
||||
# license : MIT
|
||||
|
||||
FetchContent_Declare(
|
||||
args
|
||||
URL "https://github.com/Taywee/args/archive/refs/tags/6.3.0.zip"
|
||||
)
|
||||
|
||||
set(ARGS_BUILD_EXAMPLE OFF)
|
||||
set(ARGS_BUILD_UNITTESTS OFF)
|
||||
FetchContent_MakeAvailable(args)
|
||||
|
||||
|
||||
# ---- minimp4 ----
|
||||
# repository: https://github.com/lieff/minimp4
|
||||
# license : CC0
|
||||
|
||||
FetchContent_Declare(
|
||||
minimp4
|
||||
URL "https://github.com/lieff/minimp4/archive/4575afb4f69ace25a1a048e25cc86bf8c8d14f2b.zip"
|
||||
)
|
||||
FetchContent_Populate(minimp4)
|
||||
|
||||
add_library(minimp4)
|
||||
target_include_directories(minimp4 PUBLIC SYSTEM ${minimp4_SOURCE_DIR})
|
||||
target_sources(minimp4
|
||||
PUBLIC
|
||||
"${minimp4_SOURCE_DIR}/minimp4.h"
|
||||
PRIVATE
|
||||
minimp4.c
|
||||
)
|
2
thirdparty/minimp4.c
vendored
Normal file
2
thirdparty/minimp4.c
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
#define MINIMP4_IMPLEMENTATION
|
||||
#include <minimp4.h>
|
Reference in New Issue
Block a user