From a720a6380ca75ec23e0635cc8ae47ee4b9508be0 Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Sun, 20 Mar 2022 12:57:52 +0200 Subject: Port from ECMQueryQmake to ECMQueryQt Continuation of commit 4e47b053c9d799. All unittests still pass. --- modules/ECMAddQch.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/ECMAddQch.cmake') diff --git a/modules/ECMAddQch.cmake b/modules/ECMAddQch.cmake index f494c543..bd8116a6 100644 --- a/modules/ECMAddQch.cmake +++ b/modules/ECMAddQch.cmake @@ -258,7 +258,7 @@ Since 5.36.0. include(CMakeParseArguments) include(${CMAKE_CURRENT_LIST_DIR}/../modules/QtVersionOption.cmake) -include(ECMQueryQmake) +include(ECMQueryQt) # Helper method: adding the LINK_QCHS property to a Qt QCH targets, from module base names ("Core" etc.) @@ -282,7 +282,7 @@ function(_ecm_ensure_qt_qch_targets) # get Qt version, if any find_package(Qt${QT_MAJOR_VERSION}Core CONFIG QUIET) # lookup tag files - query_qmake(qt_docs_dir QT_INSTALL_DOCS TRY) + ecm_query_qt(qt_docs_dir QT_INSTALL_DOCS TRY) find_path(_qtcoreTagsPath qtcore/qtcore.tags PATHS ${qt_docs_dir} -- cgit v1.2.1