tools: Link thread library for remote-compile
Fixes building on Linux, and possibly Windows Change-Id: Ie8560618c4e0179e3a76da514d8835114b91b863 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/60349 Commit-Queue: Ben Clayton <bclayton@google.com> Auto-Submit: Ben Clayton <bclayton@google.com> Kokoro: Ben Clayton <bclayton@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com>
This commit is contained in:
parent
ec4a1df77b
commit
6ed467a340
|
@ -19,8 +19,11 @@ set(SRC
|
||||||
socket.h
|
socket.h
|
||||||
)
|
)
|
||||||
|
|
||||||
|
find_package (Threads REQUIRED)
|
||||||
|
|
||||||
add_executable(tint-remote-compile ${SRC})
|
add_executable(tint-remote-compile ${SRC})
|
||||||
|
|
||||||
|
target_link_libraries (tint-remote-compile Threads::Threads)
|
||||||
target_include_directories(tint-remote-compile PRIVATE "${TINT_ROOT_SOURCE_DIR}")
|
target_include_directories(tint-remote-compile PRIVATE "${TINT_ROOT_SOURCE_DIR}")
|
||||||
|
|
||||||
# If we're building on mac / ios and we have CoreGraphics, then we can use the
|
# If we're building on mac / ios and we have CoreGraphics, then we can use the
|
||||||
|
|
Loading…
Reference in New Issue