To prevent the linker error if they were before some object file referencing
some symbol there.
set_target_properties(${_lyx} PROPERTIES FOLDER "applications/LyX")
set_target_properties(${_lyx} PROPERTIES FOLDER "applications/LyX")
-qt_use_modules(${_lyx} Core Gui)
-
lyx_add_gcc_pch(${_lyx})
target_link_libraries(${_lyx}
lyx_add_gcc_pch(${_lyx})
target_link_libraries(${_lyx}
${QT_QTMAIN_LIBRARY}
${vld_dll})
${QT_QTMAIN_LIBRARY}
${vld_dll})
+qt_use_modules(${_lyx} Core Gui)
+
lyx_target_link_libraries(${_lyx} HUNSPELL ASPELL ENCHANT Magic)
if(APPLE)
lyx_target_link_libraries(${_lyx} HUNSPELL ASPELL ENCHANT Magic)
if(APPLE)