diff --git a/src/dawn_node/README.md b/src/dawn_node/README.md index 2faf96c68b..e967bb0254 100644 --- a/src/dawn_node/README.md +++ b/src/dawn_node/README.md @@ -30,6 +30,15 @@ cp scripts/standalone-with-node.gclient .gclient gclient sync ``` +Optionally, on Linux install X11-xcb support: + +```sh +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 @@ Currently, the node bindings can only be built with CMake: ```sh mkdir cd -cmake -GNinja -DDAWN_BUILD_NODE_BINDINGS=1 -DDAWN_ENABLE_PIC=1 +cmake -GNinja -DDAWN_BUILD_NODE_BINDINGS=1 -DDAWN_ENABLE_PIC=1 -DDAWN_USE_X11=OFF ninja dawn.node ```