From 08c8128e9b533de15127a5cfd0fc69122a2d82d9 Mon Sep 17 00:00:00 2001 From: Martin Delille Date: Thu, 26 Jan 2023 15:40:28 +0100 Subject: [PATCH] Fix Qt find --- QXlsx/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QXlsx/CMakeLists.txt b/QXlsx/CMakeLists.txt index 7207f94..5cbb2dd 100644 --- a/QXlsx/CMakeLists.txt +++ b/QXlsx/CMakeLists.txt @@ -16,7 +16,7 @@ include(GNUInstallDirs) if(NOT DEFINED QT_VERSION_MAJOR) find_package(QT NAMES Qt6 Qt5 COMPONENTS Core Gui REQUIRED) endif() -find_package(Qt${QT_VERSION_MAJOR} 5.9 COMPONENTS Core Gui REQUIRED) +find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core Gui REQUIRED) set(EXPORT_NAME QXlsxQt${QT_VERSION_MAJOR}) if (QT_VERSION_MAJOR EQUAL 6)