summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-06-26 09:03:23 -0700
committerKonstantin Käfer <mail@kkaefer.com>2018-06-26 10:51:56 -0700
commit488b68c693eab047972928ca195b804733ccbabf (patch)
tree03256f409a23bb92176e27dbdc4d23130b0af2bf /cmake
parent95fd7ee74257fded4a23cf8c06144f276804a04c (diff)
downloadqtlocation-mapboxgl-488b68c693eab047972928ca195b804733ccbabf.tar.gz
[node] add compatibility with node-pre-gyp binary publishing
Diffstat (limited to 'cmake')
-rw-r--r--cmake/node.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/node.cmake b/cmake/node.cmake
index c8ad07f639..b0fcdda1fc 100644
--- a/cmake/node.cmake
+++ b/cmake/node.cmake
@@ -19,7 +19,7 @@ create_source_groups(mbgl-loop-node)
add_node_module(mbgl-node
- INSTALL_DIR "lib"
+ 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
)