From 6fa9bd0ac22f98e005ac35abe44e9a772c8671a7 Mon Sep 17 00:00:00 2001 From: Jan Caha Date: Wed, 18 Feb 2026 11:33:40 +0100 Subject: [PATCH] fix package config --- cmake/Config.cmake.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmake/Config.cmake.in b/cmake/Config.cmake.in index 84e949a..54b3478 100644 --- a/cmake/Config.cmake.in +++ b/cmake/Config.cmake.in @@ -9,9 +9,11 @@ find_dependency(SimpleRasters REQUIRED) # Optional Qt dependency if(@HAS_QT@) - find_dependency(Qt6 COMPONENTS Core Xml Test REQUIRED) + find_dependency(Qt5 COMPONENTS Core Xml Test REQUIRED) + # find_dependency(Qt6 COMPONENTS Core Xml Test REQUIRED) if(@BUILD_GUI_APP@) - find_dependency(Qt6 COMPONENTS Widgets Gui REQUIRED) + find_dependency(Qt5 COMPONENTS Widgets Gui REQUIRED) + # find_dependency(Qt6 COMPONENTS Widgets Gui REQUIRED) endif() endif()