summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-04-24 10:54:59 +0300
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-04-24 10:54:59 +0300
commit1f68558f5201253dedf2663b7c056de02a14e94a (patch)
tree558bb432d479c5d0a1b3475250e12dc5093b4113
parentbc7ae969c40ea0d7de39ccf0451da94f61534d55 (diff)
downloadqtlocation-mapboxgl-upstream/mikhail_fix_node_build.tar.gz
[node] Exclude unsupported node versions from build configurationupstream/mikhail_fix_node_build
-rw-r--r--cmake/node.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/node.cmake b/cmake/node.cmake
index f126b81637..e3d5ac9d21 100644
--- a/cmake/node.cmake
+++ b/cmake/node.cmake
@@ -22,11 +22,11 @@ add_node_module(mbgl-node
INSTALL_PATH "lib/{node_abi}/mbgl.node"
NAN_VERSION "2.10.0"
- # Don't build for Node 4.x, 5.x, 7.x, or 9.x
+ # Don't build for Node 4.x, 5.x, 7.x, 9.x, 11.x and 12.x
# See https://nodejs.org/en/download/releases/ for mapping of Node version to ABI number.
# Changes to this property should happen in tandem with updates to the version targets
# in platform/node/scripts/publish.sh and the "node" engines property in package.json.
- EXCLUDE_NODE_ABIS 46 47 51 59
+ EXCLUDE_NODE_ABIS 46 47 51 59 67 72
)
target_sources(mbgl-node INTERFACE