diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2018-05-30 14:23:10 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2018-06-04 10:43:21 +0200 |
commit | 4943260d3b94139452ef53e13ca520ceb1cb8045 (patch) | |
tree | fbb70fe0670795e9a18f82b01877c60e811bfa68 /cmake | |
parent | 9ebb50416465e9c4c13df2f67b4f327020596c6e (diff) | |
download | qtlocation-mapboxgl-4943260d3b94139452ef53e13ca520ceb1cb8045.tar.gz |
[build] cache Node + Nan headers globally, not build-specific
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/node.cmake | 1 |
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) |