mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 21:29:00 +08:00
16 lines
627 B
Diff
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})
|