Skip to content

Commit 11461d4

Browse files
authored
[vcpkg baseline][saucer] Re-fix configure error (#26820)
* [sacuer] Re-fix configure error * version
1 parent 24d96bc commit 11461d4

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

Diff for: ports/saucer/fix-source-generation.patch

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
diff --git a/CMakeLists.txt b/CMakeLists.txt
2-
index 3800146..6200c78 100644
2+
index 3800146..61a9e60 100644
33
--- a/CMakeLists.txt
44
+++ b/CMakeLists.txt
55
@@ -80,7 +80,7 @@ target_include_directories(${PROJECT_NAME} PRIVATE "include/saucer")
66
# --------------------------------------------------------------------------------------------------------
77

88
string(TOLOWER ${saucer_backend} saucer_backed_lower)
99
-configure_file("constants.hpp.in" "${CMAKE_CURRENT_SOURCE_DIR}/include/saucer/constants.hpp")
10-
+configure_file("constants.hpp.in" "${CMAKE_CURRENT_BINARY}/include/saucer/constants.hpp")
10+
+configure_file("constants.hpp.in" "${CMAKE_BINARY_DIR}/include/saucer/constants.hpp")
1111

1212
# --------------------------------------------------------------------------------------------------------
1313
# Configure Library depending on options
1414
@@ -91,6 +91,7 @@ include(FetchContent)
1515
if (saucer_backend STREQUAL "Qt")
1616
target_sources(${PROJECT_NAME} PRIVATE "src/webview.qt5.cpp" "src/window.qt5.cpp")
1717
target_sources(${PROJECT_NAME} PRIVATE "src/webview.qt5.impl.hpp" "src/window.qt5.impl.hpp")
18-
+ target_sources(${PROJECT_NAME} PRIVATE "${CMAKE_CURRENT_BINARY}/include/saucer/constants.hpp")
18+
+ target_sources(${PROJECT_NAME} PRIVATE "${CMAKE_BINARY_DIR}/include/saucer/constants.hpp")
1919

2020
find_package(Qt5 COMPONENTS Widgets WebEngineWidgets WebChannel REQUIRED)
2121
target_link_libraries(${PROJECT_NAME} PRIVATE Qt5::Widgets Qt5::WebEngineWidgets Qt5::WebChannel)

Diff for: ports/saucer/vcpkg.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "saucer",
33
"version": "1.0.1",
4-
"port-version": 1,
4+
"port-version": 2,
55
"description": "Next-gen desktop apps with web-frontend in C++",
66
"homepage": "https://saucer.github.io/",
77
"license": "MIT",

Diff for: versions/baseline.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6558,7 +6558,7 @@
65586558
},
65596559
"saucer": {
65606560
"baseline": "1.0.1",
6561-
"port-version": 1
6561+
"port-version": 2
65626562
},
65636563
"sbp": {
65646564
"baseline": "3.4.10",

Diff for: versions/s-/saucer.json

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "ce7e88eac61c5e370dbf6d5dc7ad56dbdded879d",
5+
"version": "1.0.1",
6+
"port-version": 2
7+
},
38
{
49
"git-tree": "3738770dd615f4e229cc0bf1e6704d3c0e9e001a",
510
"version": "1.0.1",

0 commit comments

Comments
 (0)