void-packages/srcpkgs/extra-cmake-modules/patches/cross.patch
2025-04-08 09:12:03 +07:00

11 lines
461 B
Diff

--- a/modules/ECMQueryQt.cmake
+++ b/modules/ECMQueryQt.cmake
@@ -56,7 +56,7 @@ if (QT_MAJOR_VERSION STREQUAL "5")
endif()
elseif(QT_MAJOR_VERSION STREQUAL "6")
# QUIET to accommodate the TRY option
- find_package(Qt6 COMPONENTS CoreTools QUIET CONFIG)
+ find_package(Qt6 COMPONENTS Core QUIET CONFIG)
set(_exec_name_text "Qt6 qtpaths")
if (TARGET Qt6::qtpaths)
get_target_property(_qtpaths_executable Qt6::qtpaths LOCATION)