[LyX/master] Amend 47f1fec9
Enrico Forestieri
forenr at lyx.org
Sun Oct 17 16:09:38 UTC 2021
commit 3048878eabf7b3fd2dce37cf250876ddf55b394d
Author: Enrico Forestieri <forenr at lyx.org>
Date: Sun Oct 17 18:31:52 2021 +0200
Amend 47f1fec9
Also account for cmake
---
src/frontends/qt/CMakeLists.txt | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/frontends/qt/CMakeLists.txt b/src/frontends/qt/CMakeLists.txt
index 282db37..9709d71 100644
--- a/src/frontends/qt/CMakeLists.txt
+++ b/src/frontends/qt/CMakeLists.txt
@@ -43,7 +43,9 @@ else()
endif()
set_target_properties(frontend_qt PROPERTIES FOLDER "applications/LyX" QT_NO_UNICODE_DEFINES TRUE)
-if(Qt5Core_FOUND AND APPLE)
+if(Qt6Core_FOUND)
+ qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg SvgWidgets)
+elseif(Qt5Core_FOUND AND APPLE)
qt_use_modules(frontend_qt Core Gui Widgets Concurrent Svg MacExtras)
else()
if (Qt5WinExtras_FOUND)
More information about the lyx-cvs
mailing list