[LyX/master] Amend 263da2fa and 88c1ed9e for CMake-build
Kornel Benko
kornel at lyx.org
Fri Mar 3 08:56:29 UTC 2023
commit 6251afec70cd65a23f6f81d06b483d04dc0412d0
Author: Kornel Benko <kornel at lyx.org>
Date: Fri Mar 3 10:57:12 2023 +0100
Amend 263da2fa and 88c1ed9e for CMake-build
---
CMakeLists.txt | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 146556c..38e11b8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -833,7 +833,7 @@ if(LYX_USE_QT MATCHES "QT6|QT5")
endif()
if (LYX_USE_QT MATCHES "QT6")
get_target_property(QT_MOC_EXECUTABLE Qt6::moc LOCATION)
- find_package(Qt6 COMPONENTS Core5Compat REQUIRED)
+ #find_package(Qt6 COMPONENTS Core5Compat REQUIRED)
# We don't know why QtZlib is included, and ideally we
# would have a different fix than relying on this
# variable (which as "Private" in the name indicates,
@@ -842,8 +842,8 @@ if(LYX_USE_QT MATCHES "QT6|QT5")
# https://www.mail-archive.com/search?l=mid&q=CAGU9VOqpkngYBumnNh%3DcuzQ585GsS7TJbhHa903nJSfy-davRg%40mail.gmail.com
list(REMOVE_ITEM Qt6Core5Compat_INCLUDE_DIRS ${_Qt6ZlibPrivate_OWN_INCLUDE_DIRS})
include_directories(${Qt6Core5Compat_INCLUDE_DIRS})
- set(QtCore5CompatLibrary Qt6::Core5Compat)
- set(QtCore5CompatModule Core5Compat)
+ #set(QtCore5CompatLibrary Qt6::Core5Compat)
+ #set(QtCore5CompatModule Core5Compat)
endif()
endif()
else()
More information about the lyx-cvs
mailing list