X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=CMakeLists.txt;h=933a8f38455e8ce82adf86fdd64d41b609210446;hb=b14e9d52ef6c3bd305812cb48ef5c485fd47d9d8;hp=8479c8984b617cba4105031e888d5bde945df256;hpb=4f1095cdbc3b7064dd153f631bb1da4a2daa929a;p=lyx.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 8479c8984b..933a8f3845 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -651,8 +651,9 @@ elseif(LYX_USE_QT MATCHES "QT4") macro (qt_wrap_uifiles) qt4_wrap_ui(${ARGN}) endmacro() + set(LYX_QTMAIN_LIBRARY ${QT_QTSVG_LIBRARY}) if(WIN32) - set(LYX_QTMAIN_LIBRARY ${QT_QTMAIN_LIBRARIES}) + list(APPEND LYX_QTMAIN_LIBRARY ${QT_QTMAIN_LIBRARIES}) endif() else() message(FATAL_ERROR "Unhandled value for LYX_USE_QT (${LYX_USE_QT})")