mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Cmake build: Add Qt?Xml modules to build.
Cmake part of the fix to #13069 XHTML output for InsetMathBox can loop forever
This commit is contained in:
parent
fafe3ea5d7
commit
0116048697
@ -47,14 +47,14 @@ endif()
|
||||
set_target_properties(frontend_qt PROPERTIES FOLDER "applications/LyX" QT_NO_UNICODE_DEFINES TRUE)
|
||||
|
||||
if(Qt6Core_FOUND)
|
||||
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg SvgWidgets)
|
||||
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg Xml SvgWidgets)
|
||||
elseif(Qt5Core_FOUND AND APPLE)
|
||||
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg MacExtras)
|
||||
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg Xml MacExtras)
|
||||
else()
|
||||
if (Qt5WinExtras_FOUND)
|
||||
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg WinExtras)
|
||||
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg Xml WinExtras)
|
||||
else()
|
||||
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg)
|
||||
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg Xml)
|
||||
endif()
|
||||
endif()
|
||||
target_link_libraries(frontend_qt
|
||||
|
Loading…
Reference in New Issue
Block a user