Fix undefined symbols in dawn_wire
When dawn is built with CMake and BUILD_SHARED_LIBS turned on,
the link step of dawn_wire complained on macOS and windows about
unresolved external symbols from wire/client/Instance.cpp.obj.
This CL adds the tint_lang_wgsl_features library in the link list
for dawn_wire.
Bug: 345919921
Change-Id: I878701e9366f68e6f0678a37c59a7f6e196a4219
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/192420
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
diff --git a/src/dawn/wire/CMakeLists.txt b/src/dawn/wire/CMakeLists.txt
index 123a8e9..ba79b86 100644
--- a/src/dawn/wire/CMakeLists.txt
+++ b/src/dawn/wire/CMakeLists.txt
@@ -116,6 +116,7 @@
dawn_common
dawn_internal_config
partition_alloc
+ tint_lang_wgsl_features
)
install_if_enabled(dawn_wire)