]> git.lyx.org Git - lyx.git/commitdiff
Cmake build: Adapt for branch 2.4
authorKornel Benko <kornel@lyx.org>
Tue, 2 Apr 2024 08:46:20 +0000 (10:46 +0200)
committerKornel Benko <kornel@lyx.org>
Tue, 2 Apr 2024 08:46:20 +0000 (10:46 +0200)
CMakeLists.txt

index 86226dc8e881de2f558d2352e037e9b87bf4d853..f473ee4bc563f0ee4e2d6460cfbd69b92a8bdcb8 100644 (file)
@@ -664,9 +664,9 @@ set(min_qt5_version "5.6")
 if(LYX_USE_QT MATCHES "AUTO")
        # try qt6 first
        find_package(Qt6Core CONFIG QUIET)
-       if (Qt6Core_Found)
+       if (Qt6Core_FOUND)
                set(LYX_USE_QT "QT6" CACHE STRING "Valid qt version" FORCE)
-               message(STATUS "Qt5Core_VERSION = ${Qt5Core_VERSION}")
+               message(STATUS "Qt6Core_VERSION = ${Qt6Core_VERSION}")
        else()
                find_package(Qt5Core CONFIG QUIET)
                if(Qt5Core_FOUND)