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 <jrprice@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
James Price 2022-11-22 23:25:16 +00:00 committed by Dawn LUCI CQ
parent 2e1b359087
commit 89f15fc57e
1 changed files with 2 additions and 1 deletions

View File

@ -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}"