mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
fix issue with zlib linkage error when using Qt6
Remove QtZlib include folder from targets
This commit is contained in:
parent
12e22708aa
commit
26a3a08511
@ -834,6 +834,7 @@ if(LYX_USE_QT MATCHES "QT6|QT5")
|
||||
if (LYX_USE_QT MATCHES "QT6")
|
||||
get_target_property(QT_MOC_EXECUTABLE Qt6::moc LOCATION)
|
||||
find_package(Qt6 COMPONENTS Core5Compat REQUIRED)
|
||||
list(REMOVE_ITEM Qt6Core5Compat_INCLUDE_DIRS ${_Qt6ZlibPrivate_OWN_INCLUDE_DIRS})
|
||||
include_directories(${Qt6Core5Compat_INCLUDE_DIRS})
|
||||
set(QtCore5CompatLibrary Qt6::Core5Compat)
|
||||
set(QtCore5CompatModule Core5Compat)
|
||||
|
Loading…
Reference in New Issue
Block a user