mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Cmake build: Move use of QT5 libraries to the end of linker command line.
To prevent the linker error if they were before some object file referencing some symbol there.
This commit is contained in:
parent
048571a2bf
commit
49efd1933a
@ -119,8 +119,6 @@ add_dependencies(${_lyx} lyx_version)
|
||||
|
||||
set_target_properties(${_lyx} PROPERTIES FOLDER "applications/LyX")
|
||||
|
||||
qt_use_modules(${_lyx} Core Gui)
|
||||
|
||||
lyx_add_gcc_pch(${_lyx})
|
||||
|
||||
target_link_libraries(${_lyx}
|
||||
@ -134,6 +132,8 @@ target_link_libraries(${_lyx}
|
||||
${QT_QTMAIN_LIBRARY}
|
||||
${vld_dll})
|
||||
|
||||
qt_use_modules(${_lyx} Core Gui)
|
||||
|
||||
lyx_target_link_libraries(${_lyx} HUNSPELL ASPELL ENCHANT Magic)
|
||||
|
||||
if(APPLE)
|
||||
|
Loading…
Reference in New Issue
Block a user