From 916428f2c2725af1b5eea14e734f78c775feab8c Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Fri, 6 Mar 2026 11:33:20 +0000 Subject: [PATCH] cmake: Fix `FindQt` module The `find_package(Qt .. MODULE REQUIRED COMPONENTS ...)` call must treat any missing component as a fatal error. Github-Pull: #34650 Rebased-From: c55584575a99ff565131207916eccb3223e508a3 --- cmake/module/FindQt.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/module/FindQt.cmake b/cmake/module/FindQt.cmake index d98af5bb56b..8ac47a60514 100644 --- a/cmake/module/FindQt.cmake +++ b/cmake/module/FindQt.cmake @@ -36,7 +36,7 @@ unset(_qt_homebrew_prefix) include(FindPackageHandleStandardArgs) find_package_handle_standard_args(Qt - REQUIRED_VARS Qt${Qt_FIND_VERSION_MAJOR}_DIR + REQUIRED_VARS Qt${Qt_FIND_VERSION_MAJOR}_DIR Qt${Qt_FIND_VERSION_MAJOR}_FOUND VERSION_VAR Qt${Qt_FIND_VERSION_MAJOR}_VERSION )