mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Cmake build: Adapt for branch 2.4
This commit is contained in:
parent
0b8e8eb174
commit
b8b9e8ec14
@ -664,9 +664,9 @@ set(min_qt5_version "5.6")
|
|||||||
if(LYX_USE_QT MATCHES "AUTO")
|
if(LYX_USE_QT MATCHES "AUTO")
|
||||||
# try qt6 first
|
# try qt6 first
|
||||||
find_package(Qt6Core CONFIG QUIET)
|
find_package(Qt6Core CONFIG QUIET)
|
||||||
if (Qt6Core_Found)
|
if (Qt6Core_FOUND)
|
||||||
set(LYX_USE_QT "QT6" CACHE STRING "Valid qt version" FORCE)
|
set(LYX_USE_QT "QT6" CACHE STRING "Valid qt version" FORCE)
|
||||||
message(STATUS "Qt5Core_VERSION = ${Qt5Core_VERSION}")
|
message(STATUS "Qt6Core_VERSION = ${Qt6Core_VERSION}")
|
||||||
else()
|
else()
|
||||||
find_package(Qt5Core CONFIG QUIET)
|
find_package(Qt5Core CONFIG QUIET)
|
||||||
if(Qt5Core_FOUND)
|
if(Qt5Core_FOUND)
|
||||||
|
Loading…
Reference in New Issue
Block a user