mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Cmake build: Shuffle code around.
This commit is contained in:
parent
a24033ff0e
commit
e78e58a7de
@ -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})")
|
||||
|
@ -132,9 +132,6 @@ 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)
|
||||
|
Loading…
Reference in New Issue
Block a user