[build] cache Node + Nan headers globally, not build-specific

This commit is contained in:
Konstantin Käfer
2018-05-30 14:23:10 +02:00
parent 9ebb504164
commit 4943260d3b

View File

@@ -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)