vcpkg/ports/skia/core-opengl32.patch

15 lines
395 B
Diff
Raw Normal View History

diff --git a/BUILD.gn b/BUILD.gn
index 71d19dd..3691123 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1393,6 +1393,9 @@ skia_component("skia") {
defines = [ "SK_HAS_ANDROID_CODEC" ]
libs = []
+ if (is_win && target_cpu != "arm64" && !skia_enable_winuwp) {
+ libs += [ "OpenGL32.lib" ] # for src/utils/win/SkWGL_win.cpp
+ }
if (skia_enable_sksl) {
deps += [ ":dehydrate_sksl" ]