CMakeLists.txt: matroska is unrelated to video, so build it even in non video mode

parent 9819c046
......@@ -378,12 +378,6 @@ if(ENABLE_VIDEO)
voip/vp8rtpfmt.h
)
endif()
if(MATROSKA2_FOUND)
list(APPEND VOIP_SOURCE_FILES_C
videofilters/mkv.c
utils/mkv_reader.c
)
endif()
if(X11_FOUND)
list(APPEND VOIP_SOURCE_FILES_C utils/x11_helper.c)
endif()
......@@ -391,6 +385,14 @@ if(ENABLE_VIDEO)
list(APPEND VOIP_SOURCE_FILES_C videofilters/x11video.c)
endif()
endif()
if(MATROSKA2_FOUND)
list(APPEND VOIP_SOURCE_FILES_C
videofilters/mkv.c
utils/mkv_reader.c
voip/rfc2429.h
voip/rfc3984.c
)
endif()
set(VOIP_SOURCE_FILES_ALL ${VOIP_SOURCE_FILES_C} ${VOIP_SOURCE_FILES_CXX} ${VOIP_SOURCE_FILES_OBJC})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment