From 9e05e25acffd7ac327fda8c4a54c380b0753196b Mon Sep 17 00:00:00 2001 From: Craig Scott Date: Wed, 7 Jul 2021 14:20:32 +1000 Subject: [PATCH] CMake: Fix typo in function name Pick-to: 6.2 Change-Id: I72ab657670ca6fa460b3495f85d6edd920ee2c8a Reviewed-by: Alexandru Croitor --- cmake/QtBuildInternals/QtBuildInternalsConfig.cmake | 4 ++-- .../QtStandaloneTestTemplateProject/Main.cmake | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake b/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake index 8fa0e69c3eb..f100e4ab448 100644 --- a/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake +++ b/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake @@ -533,7 +533,7 @@ macro(qt_set_up_standalone_tests_build) # Standalone tests are not handled via the main repo project and qt_build_tests. endmacro() -function(qt_get_standalone_tests_confg_files_path out_var) +function(qt_get_standalone_tests_config_files_path out_var) set(path "${QT_CONFIG_INSTALL_DIR}/${INSTALL_CMAKE_NAMESPACE}BuildInternals/StandaloneTests") # QT_CONFIG_INSTALL_DIR is relative in prefix builds. @@ -552,7 +552,7 @@ macro(qt_build_tests) if(QT_BUILD_STANDALONE_TESTS) # Find location of TestsConfig.cmake. These contain the modules that need to be # find_package'd when testing. - qt_get_standalone_tests_confg_files_path(_qt_build_tests_install_prefix) + qt_get_standalone_tests_config_files_path(_qt_build_tests_install_prefix) include("${_qt_build_tests_install_prefix}/${PROJECT_NAME}TestsConfig.cmake" OPTIONAL) # Of course we always need the test module as well. diff --git a/cmake/QtBuildInternals/QtStandaloneTestTemplateProject/Main.cmake b/cmake/QtBuildInternals/QtStandaloneTestTemplateProject/Main.cmake index 38e1d75d870..3f8f8c39802 100644 --- a/cmake/QtBuildInternals/QtStandaloneTestTemplateProject/Main.cmake +++ b/cmake/QtBuildInternals/QtStandaloneTestTemplateProject/Main.cmake @@ -5,7 +5,7 @@ qt_build_internals_set_up_private_api() # This will find all Qt packages that are required for standalone tests. # It will find more packages that needed for a certain test, but will ensure any test can # be built. -qt_get_standalone_tests_confg_files_path(standalone_tests_config_path) +qt_get_standalone_tests_config_files_path(standalone_tests_config_path) file(GLOB config_files "${standalone_tests_config_path}/*") foreach(file ${config_files})