Read info about source from source/flow_def

This commit is contained in:
JohannesItten
2026-07-09 12:43:10 +03:00
parent d3ef011319
commit d2095d14d3
8 changed files with 172 additions and 54 deletions
+3 -4
View File
@@ -77,7 +77,7 @@ FetchContent_MakeAvailable(json)
find_package(PkgConfig REQUIRED)
# Check for FFmpeg components
pkg_check_modules(FFMPEG REQUIRED
pkg_check_modules(FFMPEG REQUIRED IMPORTED_TARGET
libavformat
libavcodec
libswscale
@@ -85,10 +85,9 @@ pkg_check_modules(FFMPEG REQUIRED
libswresample
)
# Create an interface library for FFmpeg
# Wrap in a named alias so nodes just link against "ffmpeg"
add_library(ffmpeg INTERFACE)
target_include_directories(ffmpeg INTERFACE ${FFMPEG_INCLUDE_DIRS})
target_link_libraries(ffmpeg INTERFACE ${FFMPEG_LIBRARIES})
target_link_libraries(ffmpeg INTERFACE PkgConfig::FFMPEG)
# ── Shared utilities (Signal.hpp, NodeBase.hpp, FlowDef.hpp, V210.hpp) ───────
add_library(dmf-shared INTERFACE)