diff options
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index da295b1d50..7827725ad5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -690,6 +690,7 @@ if(BUILD_wireshark) Qt5LinguistTools Qt5Multimedia Qt5PrintSupport + Qt5Svg Qt5Widgets ) if (APPLE) @@ -935,6 +936,11 @@ if (Qt5Widgets_FOUND) # That's the name autofoo uses set(QT_MULTIMEDIA_LIB 1) endif() + if(Qt5Svg_FOUND) + set (QT_LIBRARIES ${QT_LIBRARIES} ${Qt5Svg_LIBRARIES}) + # That's the name autofoo uses + set(QT_SVG_LIB 1) + endif() if(Qt5MacExtras_FOUND) set (QT_LIBRARIES ${QT_LIBRARIES} ${Qt5MacExtras_LIBRARIES}) # That's the name autofoo uses |