]> git.lyx.org Git - lyx.git/blobdiff - CMakeLists.txt
Remove spurious body tags in macro test file.
[lyx.git] / CMakeLists.txt
index 8479c8984b617cba4105031e888d5bde945df256..933a8f38455e8ce82adf86fdd64d41b609210446 100644 (file)
@@ -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})")