summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/node.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/node.cmake b/cmake/node.cmake
index b6f7bb9dc0..c8ad07f639 100644
--- a/cmake/node.cmake
+++ b/cmake/node.cmake
@@ -1,4 +1,5 @@
# Load Node.js
+set(NODE_MODULE_CACHE_DIR "${CMAKE_SOURCE_DIR}/build/headers")
include(node_modules/@mapbox/cmake-node-module/module.cmake)
add_library(mbgl-loop-node INTERFACE)