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:
parent
2e1b359087
commit
89f15fc57e
|
@ -70,7 +70,8 @@ set_target_properties(dawn_node PROPERTIES
|
||||||
LIBRARY_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}"
|
LIBRARY_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}"
|
||||||
CXX_STANDARD 17
|
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
|
target_include_directories(dawn_node PRIVATE
|
||||||
"${PROJECT_SOURCE_DIR}"
|
"${PROJECT_SOURCE_DIR}"
|
||||||
"${DAWN_THIRD_PARTY_DIR}"
|
"${DAWN_THIRD_PARTY_DIR}"
|
||||||
|
|
Loading…
Reference in New Issue