mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-24 12:34:39 +03:00
Update:
- Added -USE_QT6 in order to choose what to build instead of the default behaviour.
This commit is contained in:
parent
87ea7500a3
commit
e34023931f
@ -7,11 +7,13 @@ set(LIMEREPORT_VERSION_RELEASE 6)
|
|||||||
|
|
||||||
option(ENABLE_ZINT "Enable libzint build for barcode support" OFF)
|
option(ENABLE_ZINT "Enable libzint build for barcode support" OFF)
|
||||||
option(LIMEREPORT_STATIC "Build LimeReport as static library" OFF)
|
option(LIMEREPORT_STATIC "Build LimeReport as static library" OFF)
|
||||||
|
option(USE_QT6 "Use Qt6" OFF)
|
||||||
|
|
||||||
find_package(
|
if(USE_QT6)
|
||||||
QT NAMES Qt6 Qt5
|
find_package(QT NAMES Qt6)
|
||||||
COMPONENTS Core Widgets Sql Network Xml Svg Qml PrintSupport REQUIRED
|
else()
|
||||||
)
|
find_package(QT NAMES Qt5)
|
||||||
|
endif(USE_QT6)
|
||||||
find_package(
|
find_package(
|
||||||
Qt${QT_VERSION_MAJOR}
|
Qt${QT_VERSION_MAJOR}
|
||||||
COMPONENTS Core Widgets Sql Network Xml Svg Qml PrintSupport REQUIRED
|
COMPONENTS Core Widgets Sql Network Xml Svg Qml PrintSupport REQUIRED
|
||||||
|
Loading…
Reference in New Issue
Block a user