diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0c56ce62e4..b7d1b06791 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -132,6 +132,9 @@ target_link_libraries(${_lyx} ${LYX_QTMAIN_LIBRARY} ${vld_dll}) +if(LYX_USE_QT MATCHES "QT4") + target_link_libraries(${_lyx} ${QT_QTSVG_LIBRARY}) +endif() qt_use_modules(${_lyx} Core Gui) if(QT_USES_X11)