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>
diff --git a/tools/src/cmd/remote-compile/CMakeLists.txt b/tools/src/cmd/remote-compile/CMakeLists.txt
index 9a28f62..8748ff1 100644
--- a/tools/src/cmd/remote-compile/CMakeLists.txt
+++ b/tools/src/cmd/remote-compile/CMakeLists.txt
@@ -19,8 +19,11 @@
     socket.h
 )
 
+find_package (Threads REQUIRED)
+
 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}")
 
 # If we're building on mac / ios and we have CoreGraphics, then we can use the