Commit 04541ba0 authored by Vincent Pinon's avatar Vincent Pinon
Browse files

Prefer SDL2 to SDL1 (dropped by FFmpeg and so MLT)

parent 155a8c1b
......@@ -311,9 +311,11 @@ if(Q_WS_X11)
target_link_libraries(kdenlive ${X11_LIBRARIES})
endif(Q_WS_X11)
if(SDL_FOUND)
if(SDL2_FOUND)
target_link_libraries(kdenlive ${SDL2_LIBRARY})
elseif(SDL_FOUND)
target_link_libraries(kdenlive ${SDL_LIBRARY})
endif(SDL_FOUND)
endif(SDL2_FOUND)
if(LIBV4L2_FOUND)
include_directories(${LIBV4L2_INCLUDE_DIR})
......
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