From 89f15fc57efb857259fae1694d24388de15575b0 Mon Sep 17 00:00:00 2001 From: James Price Date: Tue, 22 Nov 2022 23:25:16 +0000 Subject: [PATCH] dawn/node: Fix shared library build dawn.node now uses tint::Initialize() and tint::Shutdown(), and so needs to link against libtint. Fixed: tint:1765 Change-Id: I03e575b4709c43a6052ed3ca635376251c3323c0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/111080 Auto-Submit: James Price Reviewed-by: Ben Clayton Kokoro: Kokoro Commit-Queue: Ben Clayton --- src/dawn/node/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dawn/node/CMakeLists.txt b/src/dawn/node/CMakeLists.txt index ac2a8e304d..854c3975d2 100644 --- a/src/dawn/node/CMakeLists.txt +++ b/src/dawn/node/CMakeLists.txt @@ -70,7 +70,8 @@ set_target_properties(dawn_node PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}" CXX_STANDARD 17 ) -target_link_libraries(dawn_node dawn_node_binding dawn_node_interop dawn_native dawncpp dawn_proc) +target_link_libraries(dawn_node dawn_node_binding dawn_node_interop dawn_native dawncpp dawn_proc + libtint) target_include_directories(dawn_node PRIVATE "${PROJECT_SOURCE_DIR}" "${DAWN_THIRD_PARTY_DIR}"