require svg

We use an SVG in the input dialog and it disappears if QtSvg isn't available. There's an argument that converting it to PNG is cleaner than requiring an SVG parsing library, but most people will probably have QtSvg?
This commit is contained in:
MattKC 2024-11-14 18:48:45 -08:00
parent f4f4fc4746
commit a5ef5fca7c

View file

@ -1,4 +1,4 @@
find_package(Qt6 REQUIRED COMPONENTS Core Widgets Multimedia OpenGLWidgets Network Concurrent)
find_package(Qt6 REQUIRED COMPONENTS Core Widgets Multimedia OpenGLWidgets Network Concurrent Svg)
find_package(SDL2 REQUIRED)
find_package(FFmpeg REQUIRED COMPONENTS avformat avcodec avutil avfilter)
@ -30,6 +30,7 @@ target_link_libraries(vanilla-gui PRIVATE
Qt6::Multimedia
Qt6::OpenGLWidgets
Qt6::Concurrent
Qt6::Svg
SDL2
vanilla
FFmpeg::avformat