diff --git a/cmake/QtAutoDetect.cmake b/cmake/QtAutoDetect.cmake index 8c5cca0ecf..d79d515ed3 100644 --- a/cmake/QtAutoDetect.cmake +++ b/cmake/QtAutoDetect.cmake @@ -145,7 +145,7 @@ function(qt_auto_detect_android) endif() endfunction() -function(qt_auto_detect_vpckg) +function(qt_auto_detect_vcpkg) if(DEFINED ENV{VCPKG_ROOT}) set(vcpkg_toolchain_file "$ENV{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake") get_filename_component(vcpkg_toolchain_file "${vcpkg_toolchain_file}" ABSOLUTE) @@ -428,7 +428,7 @@ qt_auto_detect_darwin() qt_auto_detect_macos_universal() qt_auto_detect_ios() qt_auto_detect_android() -qt_auto_detect_vpckg() +qt_auto_detect_vcpkg() qt_auto_detect_pch() qt_auto_detect_wasm() qt_auto_detect_win32_arm()