mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Cmake build Qt6: Remove some redundant statements.
This commit is contained in:
parent
a67cfd6013
commit
92a50fa273
@ -142,7 +142,6 @@ target_link_libraries(${_lyx}
|
||||
${vld_dll})
|
||||
|
||||
qt_use_modules(${_lyx} Core Gui ${QtCore5CompatModule})
|
||||
target_link_libraries(${_lyx} ${QtCore5CompatLibrary})
|
||||
|
||||
if(QT_USES_X11)
|
||||
find_package(X11 REQUIRED)
|
||||
|
@ -26,8 +26,7 @@ target_link_libraries(${_lyxclient}
|
||||
${Lyx_Boost_Libraries}
|
||||
${ICONV_LIBRARY}
|
||||
${QT_QTCORE_LIBRARY}
|
||||
${QT_QTGUI_LIBRARY}
|
||||
${QtCore5CompatLibrary})
|
||||
${QT_QTGUI_LIBRARY})
|
||||
|
||||
qt_use_modules(${_lyxclient} ${QtCore5CompatModule})
|
||||
lyx_target_link_libraries(${_lyxclient} Magic ASPELL)
|
||||
|
@ -15,7 +15,7 @@ macro(sources _program)
|
||||
add_executable(${_program} ${_tmplist})
|
||||
target_link_libraries(${_program} support
|
||||
${Lyx_Boost_Libraries}
|
||||
${QT_QTGUI_LIBRARY} ${QT_QTCORE_LIBRARY} ${QtCore5CompatLibrary}
|
||||
${QT_QTGUI_LIBRARY} ${QT_QTCORE_LIBRARY}
|
||||
${ZLIB_LIBRARY} ${ICONV_LIBRARY})
|
||||
lyx_target_link_libraries(${_program} Magic)
|
||||
if(CYGWIN)
|
||||
|
@ -48,7 +48,6 @@ target_link_libraries(${_tex2lyx}
|
||||
${Lyx_Boost_Libraries}
|
||||
${QT_QTCORE_LIBRARY}
|
||||
${QT_QTGUI_LIBRARY}
|
||||
${QtCore5CompatLibrary}
|
||||
${ICONV_LIBRARY})
|
||||
|
||||
qt_use_modules(${_tex2lyx} ${QtCore5CompatModule})
|
||||
|
Loading…
Reference in New Issue
Block a user