Cmake build Qt6: Remove some redundant statements.

This commit is contained in:
Kornel Benko 2021-03-24 11:42:39 +01:00
parent a67cfd6013
commit 92a50fa273
4 changed files with 2 additions and 5 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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})