vcpkg/ports/saucer/unofficial-webview2.patch
Noah ca8bde3748
[saucer, lockpp] add new port (#25111)
* [saucer] add new port

[saucer] add lockpp dependency

beleg

* [lockpp] add new port

* [saucer] update ref

* [saucer] only support static

* fix: revert cibaseline

* refactor: also disable uwp

* [saucer,lockpp] remove superflous dependencies

* [lockpp] update version

* [saucer] update to 1.0.0

* [saucer] specifiy only static library

* [saucer] bump ref

* [saucer] remove unused dependency

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* [saucer] use vcpkg webview2

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2022-06-16 15:27:28 -07:00

16 lines
627 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9fa4269..f950363 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -111,8 +111,8 @@ elseif (saucer_backend STREQUAL "WebView2")
endif()
if (NOT saucer_remote_webview2)
- find_package(webview2 CONFIG REQUIRED)
- target_link_libraries(${PROJECT_NAME} PRIVATE webview2::webview2)
+ find_package(unofficial-webview2 CONFIG REQUIRED)
+ target_link_libraries(${PROJECT_NAME} PRIVATE unofficial::webview2::webview2)
else()
include("NuGet.cmake")
nuget_add(WebView2 "Microsoft.Web.WebView2" ${saucer_webview2_version})