Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[node] Exclude unsupported node versions from build configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
pozdnyakov committed Apr 24, 2019
1 parent bc7ae96 commit c426df0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/node.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c426df0

Please sign in to comment.