You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
522 B

set(QS_SOURCES_DEVICE_DECODER
avframeconvert.h
avframeconvert.cpp
decoder.h
decoder.cpp
fpscounter.h
fpscounter.cpp
videobuffer.h
videobuffer.cpp
)
add_library(decoder ${QS_SOURCES_DEVICE_DECODER})
target_include_directories(decoder PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}
"${PROJECT_SOURCE_DIR}/third_party/ffmpeg/include"
)
target_link_libraries(decoder PUBLIC ${QS_EXTERNAL_LIBS_FFMPEG})
target_link_libraries(decoder PRIVATE
Qt${QT_VERSION_MAJOR}::Widgets
util
)