Fixing linking issue

This commit is contained in:
Zoe Roux
2021-01-03 16:11:13 +01:00
parent 866eda4b10
commit ea702ce9ed
4 changed files with 6 additions and 1 deletions

View File

@@ -23,6 +23,7 @@ target_link_libraries(transcoder
${CMAKE_SOURCE_DIR}/ffmpeg/libavdevice/libavdevice.a
${CMAKE_SOURCE_DIR}/ffmpeg/libswresample/libswresample.a
)
target_link_libraries(transcoder m bz2 va-drm va-x11 lzma vdpau)
if(WIN32)
target_link_libraries(transcoder wsock32 ws2_32)

4
tests/.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
segments/
out.m3u8
*.o
vgcore.*

View File

@@ -10,7 +10,7 @@ INCLUDE = -I ../include
CFLAGS = $(INCLUDE) -Wall -Wextra -Wshadow -g
LDFLAGS = -lm -lbz2 -lva -lva-drm -lva-x11 -lX11 -llzma -lvdpau -L ../cmake-build-debug -ltranscoder
LDFLAGS = -L ../cmake-build-debug -ltranscoder
NAME = ts

Binary file not shown.