From 74626f7bdfb4ca90c97e2c2e2c84582fe2293364 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Fri, 17 Dec 2021 12:07:03 +0200 Subject: [PATCH] Revert "find Qt5 minor version" This reverts commit 51f166bf514fc0e4f2f1d158ef7022a0eff42d7f. --- CMakeLists.txt | 6 ------ app/config-latte.h.cmake | 2 -- 2 files changed, 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ec68f2d8d..29733ccea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,15 +45,9 @@ if(X11_FOUND AND XCB_XCB_FOUND) set(HAVE_X11 ON) endif() -string(REGEX MATCH "\\.([^]]+)\\." QT5_VERSION_MINOR ${Qt5Gui_VERSION}) -string(REGEX REPLACE "\\." "" QT5_VERSION_MINOR ${QT5_VERSION_MINOR}) - string(REGEX MATCH "\\.([^]]+)\\." KF5_VERSION_MINOR ${KF5_VERSION}) string(REGEX REPLACE "\\." "" KF5_VERSION_MINOR ${KF5_VERSION_MINOR}) -message(STATUS "Qt5 VERSION : ${Qt5Gui_VERSION}") -message(STATUS "Qt5 VERSION MINOR : ${QT5_VERSION_MINOR}") - message(STATUS "KF5 VERSION : ${KF5_VERSION}") message(STATUS "KF5 VERSION MINOR : ${KF5_VERSION_MINOR}") diff --git a/app/config-latte.h.cmake b/app/config-latte.h.cmake index 48ce667c1..ac2d4da14 100644 --- a/app/config-latte.h.cmake +++ b/app/config-latte.h.cmake @@ -5,8 +5,6 @@ #cmakedefine KF5_VERSION_MINOR @KF5_VERSION_MINOR@ -#cmakedefine QT5_VERSION_MINOR @QT5_VERSION_MINOR@ - #cmakedefine VERSION "@VERSION@" #cmakedefine WEBSITE "@WEBSITE@"