mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 08:23:07 +08:00
[saucer] build against Qt6 (#30368)
This commit is contained in:
parent
a35209a4ee
commit
7ae1d8ffd3
@ -11,9 +11,18 @@ vcpkg_from_github(
|
||||
fix-source-generation.patch
|
||||
)
|
||||
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
set(BACKEND_OPTION "-Dsaucer_backend=WebView2")
|
||||
else()
|
||||
set(BACKEND_OPTION "-Dsaucer_backend=Qt6")
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
OPTIONS -Dsaucer_prefer_remote=OFF -Dsaucer_remote_webview2=OFF
|
||||
OPTIONS
|
||||
${BACKEND_OPTION}
|
||||
-Dsaucer_prefer_remote=OFF
|
||||
-Dsaucer_remote_webview2=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "saucer",
|
||||
"version": "1.0.1",
|
||||
"port-version": 2,
|
||||
"port-version": 3,
|
||||
"description": "Next-gen desktop apps with web-frontend in C++",
|
||||
"homepage": "https://saucer.github.io/",
|
||||
"license": "MIT",
|
||||
@ -12,11 +12,11 @@
|
||||
"lockpp",
|
||||
"nlohmann-json",
|
||||
{
|
||||
"name": "qt5-webchannel",
|
||||
"name": "qtwebchannel",
|
||||
"platform": "!windows"
|
||||
},
|
||||
{
|
||||
"name": "qt5-webengine",
|
||||
"name": "qtwebengine",
|
||||
"platform": "!windows"
|
||||
},
|
||||
"tl-expected",
|
||||
|
@ -7078,7 +7078,7 @@
|
||||
},
|
||||
"saucer": {
|
||||
"baseline": "1.0.1",
|
||||
"port-version": 2
|
||||
"port-version": 3
|
||||
},
|
||||
"sbp": {
|
||||
"baseline": "3.4.10",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "15c87104efda5c84346ed7a7302713283e82eaaa",
|
||||
"version": "1.0.1",
|
||||
"port-version": 3
|
||||
},
|
||||
{
|
||||
"git-tree": "ce7e88eac61c5e370dbf6d5dc7ad56dbdded879d",
|
||||
"version": "1.0.1",
|
||||
|
Loading…
Reference in New Issue
Block a user