diff options
author | Craig Scott <craig.scott@qt.io> | 2021-07-07 14:20:32 +1000 |
---|---|---|
committer | Craig Scott <craig.scott@qt.io> | 2021-07-07 17:40:45 +1000 |
commit | 9e05e25acffd7ac327fda8c4a54c380b0753196b (patch) | |
tree | bff1dc046fb228aa07e0f7c684f75e65d1a020ad /cmake/QtBuildInternals | |
parent | 6b14ea1ba4153aa06de73fea7f2f21788d740553 (diff) |
CMake: Fix typo in function name
Pick-to: 6.2
Change-Id: I72ab657670ca6fa460b3495f85d6edd920ee2c8a
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/QtBuildInternals')
-rw-r--r-- | cmake/QtBuildInternals/QtBuildInternalsConfig.cmake | 4 | ||||
-rw-r--r-- | cmake/QtBuildInternals/QtStandaloneTestTemplateProject/Main.cmake | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake b/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake index 8fa0e69c3e..f100e4ab44 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 38e1d75d87..3f8f8c3980 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}) |