mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Cmake build: Add qt-svg-lib to be linked with lyx if used QT4.
Probably due to commit 82808fe
, there were undefined references
such as e.g. QSvgRenderer::~QSvgRenderer().
This commit is contained in:
parent
754cb3d18a
commit
050d817605
@ -132,6 +132,9 @@ target_link_libraries(${_lyx}
|
|||||||
${LYX_QTMAIN_LIBRARY}
|
${LYX_QTMAIN_LIBRARY}
|
||||||
${vld_dll})
|
${vld_dll})
|
||||||
|
|
||||||
|
if(LYX_USE_QT MATCHES "QT4")
|
||||||
|
target_link_libraries(${_lyx} ${QT_QTSVG_LIBRARY})
|
||||||
|
endif()
|
||||||
qt_use_modules(${_lyx} Core Gui)
|
qt_use_modules(${_lyx} Core Gui)
|
||||||
|
|
||||||
if(QT_USES_X11)
|
if(QT_USES_X11)
|
||||||
|
Loading…
Reference in New Issue
Block a user