CMake: Fix typo in function name
Pick-to: 6.2 Change-Id: I72ab657670ca6fa460b3495f85d6edd920ee2c8a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
6b14ea1ba4
commit
9e05e25acf
@ -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.
|
||||
|
@ -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})
|
||||
|
Loading…
x
Reference in New Issue
Block a user