summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-05-30 14:23:10 +0200
committerKonstantin Käfer <mail@kkaefer.com>2018-05-30 14:46:44 +0200
commit624cffb0dc07f76d98ca22a1a38fe7f51d648247 (patch)
tree165791629f0a2b4e65668ce104f3ff587b47283c
parent8dfef93442351c0fdb6d1a5dd2c3518ecaab565f (diff)
downloadqtlocation-mapboxgl-upstream/linux-portable.tar.gz
[build] cache Node + Nan headers globally, not build-specificupstream/linux-portable
-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)