Add -DDAWN_USE_X11=OFF for dawn.node build

Otherwise we gain a default dependency on X11, when on Linux.

Change-Id: Ief52603758f5808a47dde64b04b4f10d27e4c93a
Auto-Submit: David Neto <>
Reviewed-by: Ben Clayton <>
Commit-Queue: David Neto <>
diff --git a/src/dawn_node/ b/src/dawn_node/
index 2faf96c..e967bb0 100644
--- a/src/dawn_node/
+++ b/src/dawn_node/
@@ -30,6 +30,15 @@
 gclient sync
+Optionally, on Linux install X11-xcb support:
+sudo apt-get install libx11-xcb-dev
+If you don't have those supporting libraries, then you must use the
+`-DDAWN_USE_X11=OFF` flag on Cmake.
 ### Build
 Currently, the node bindings can only be built with CMake:
@@ -37,7 +46,7 @@
 mkdir <build-output-path>
 cd <build-output-path>
-cmake <dawn-root-path> -GNinja -DDAWN_BUILD_NODE_BINDINGS=1 -DDAWN_ENABLE_PIC=1
 ninja dawn.node