summaryrefslogtreecommitdiff
path: root/cmake/node.cmake
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2018-06-15 15:35:32 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2018-06-26 17:20:46 -0700
commitec05ee41d10b82751ed2cd6bab7f00a0d6778b9a (patch)
treeb7f39b124937ab8829109821a01bde146f541682 /cmake/node.cmake
parent3a1c7f3b9967cd6adf2ed6990b424d729e402d2c (diff)
downloadqtlocation-mapboxgl-ec05ee41d10b82751ed2cd6bab7f00a0d6778b9a.tar.gz
[node] Drop node 4.x support
Diffstat (limited to 'cmake/node.cmake')
-rw-r--r--cmake/node.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmake/node.cmake b/cmake/node.cmake
index b0fcdda1fc..5db1f46137 100644
--- a/cmake/node.cmake
+++ b/cmake/node.cmake
@@ -21,7 +21,10 @@ create_source_groups(mbgl-loop-node)
add_node_module(mbgl-node
INSTALL_PATH "lib/{node_abi}/mbgl.node"
NAN_VERSION "2.10.0"
- EXCLUDE_NODE_ABIS 47 51 59 # Don't build old beta ABIs 5.x, 7.x, and 9.x
+
+ # Don't build for Node 4.x, 5.x, 7.x, or 9.x
+ # See https://nodejs.org/en/download/releases/ for mapping of Node version to ABI number
+ EXCLUDE_NODE_ABIS 46 47 51 59
)
target_sources(mbgl-node INTERFACE