Update QtUtils.cmake

This commit is contained in:
恍兮惚兮 2024-03-02 19:43:09 +08:00
parent 570c612d9a
commit 983b89946f

View File

@ -8,7 +8,7 @@ macro(msvc_registry_search)
string(REPLACE "/Tools" ";" QT_ROOT "${QT_ROOT}") string(REPLACE "/Tools" ";" QT_ROOT "${QT_ROOT}")
list(GET QT_ROOT 0 QT_ROOT) list(GET QT_ROOT 0 QT_ROOT)
endif() endif()
file(GLOB QT_VERSIONS "${QT_ROOT}/5.13*") file(GLOB QT_VERSIONS "${QT_ROOT}/5.1*")
list(SORT QT_VERSIONS) list(SORT QT_VERSIONS)
# assume the latest version will be last alphabetically # assume the latest version will be last alphabetically