[grantlee] build against Qt6 (#30372)

This commit is contained in:
مهدي شينون (Mehdi Chinoune) 2023-03-28 22:34:33 +01:00 committed by GitHub
parent 1924508fc2
commit 1b149b54c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 3 deletions

View File

@ -10,7 +10,9 @@ vcpkg_from_github(
vcpkg_cmake_configure (
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS -DBUILD_TESTS=off
OPTIONS
-DGRANTLEE_BUILD_WITH_QT6=ON
-DBUILD_TESTS=OFF
)
vcpkg_replace_string("${SOURCE_PATH}/CMakeLists.txt" [[set( PLUGIN_INSTALL_DIR ${LIB_INSTALL_DIR}/grantlee/${Grantlee5_MAJOR_MINOR_VERSION_STRING} )]] [[set( PLUGIN_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/bin)]])

View File

@ -1,12 +1,13 @@
{
"name": "grantlee",
"version": "5.3.1",
"port-version": 1,
"description": "Libraries for text templating with Qt",
"homepage": "https://github.com/steveire/grantlee",
"license": "LGPL-2.1-or-later",
"supports": "!staticcrt",
"dependencies": [
"qt5-declarative",
"qtdeclarative",
{
"name": "vcpkg-cmake",
"host": true

View File

@ -2886,7 +2886,7 @@
},
"grantlee": {
"baseline": "5.3.1",
"port-version": 0
"port-version": 1
},
"graphene": {
"baseline": "1.10.8",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "5828abf42559b6f3db682f7827f502cf75c7ec32",
"version": "5.3.1",
"port-version": 1
},
{
"git-tree": "36162cae49c2b9664a73f0e2a1f74544e4447a7b",
"version": "5.3.1",