From d87f5f136a7af6bbeb033cacbd97136d89a76b51 Mon Sep 17 00:00:00 2001
From: Laurent Montel <montel@kde.org>
Date: Thu, 27 Apr 2023 07:48:40 +0200
Subject: [PATCH] Fix Bug 469020: Building with QCH=ON fails

FIXED-IN: 1.3.1
BUG: 469020
---
 textautocorrection/core/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/textautocorrection/core/CMakeLists.txt b/textautocorrection/core/CMakeLists.txt
index 4c562d7..68d28fa 100644
--- a/textautocorrection/core/CMakeLists.txt
+++ b/textautocorrection/core/CMakeLists.txt
@@ -163,7 +163,7 @@ if (BUILD_QCH)
         KF${KF_MAJOR_VERSION}TextAutoCorrectionCore_QCH
         NAME KF${KF_MAJOR_VERSION}TextAutoCorrectionCore
         BASE_NAME KF${KF_MAJOR_VERSION}TextAutoCorrectionCore
-        VERSION ${TEXTAUTOCORRECTION_VERSION}
+	VERSION ${TEXTAUTOCORRECTIONCORE_VERSION}
         ORG_DOMAIN org.kde
         SOURCES # using only public headers, to cover only public API
         ${TextAutoCorrectionCore_autocorrection_HEADERS}
-- 
GitLab

