mirror of
https://github.com/QtExcel/QXlsx.git
synced 2025-01-30 05:02:52 +08:00
Keep Qt5.9 as supported till eol of ubuntu 18.04
This commit is contained in:
parent
ae230f61fe
commit
c90929a4e9
@ -14,7 +14,7 @@ set(CMAKE_AUTOMOC ON)
|
||||
include(GNUInstallDirs)
|
||||
|
||||
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core Gui REQUIRED)
|
||||
find_package(Qt${QT_VERSION_MAJOR} 5.10 COMPONENTS Core Gui REQUIRED)
|
||||
find_package(Qt${QT_VERSION_MAJOR} 5.9 COMPONENTS Core Gui REQUIRED)
|
||||
set(EXPORT_NAME QXlsxQt${QT_VERSION_MAJOR})
|
||||
|
||||
if (QT_VERSION_MAJOR EQUAL 6)
|
||||
|
Loading…
x
Reference in New Issue
Block a user