summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-08-15 15:08:08 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-08-16 15:29:34 +0200
commitf4b4f978ecc8e75ab53b4937b775d0742ab1eea0 (patch)
tree8b7e7b8a444f19724658fa486d4667c691b14a3a /cmake
parent63a2f896ccfcbba8e311812e221c9553533f10da (diff)
downloadqtlocation-mapboxgl-f4b4f978ecc8e75ab53b4937b775d0742ab1eea0.tar.gz
[build] convert build-version script from Python to Node.js
Diffstat (limited to 'cmake')
-rw-r--r--cmake/core.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/core.cmake b/cmake/core.cmake
index 266a5c92a2..ef98c4eccb 100644
--- a/cmake/core.cmake
+++ b/cmake/core.cmake
@@ -6,7 +6,7 @@ endif()
add_custom_command(
OUTPUT ${MBGL_GENERATED}/include/mbgl/util/version.hpp
DEPENDS ${MBGL_VERSION_DEPS}
- COMMAND ${CMAKE_SOURCE_DIR}/scripts/build-version.py ${MBGL_GENERATED}
+ COMMAND ${NodeJS_EXECUTABLE} ${CMAKE_SOURCE_DIR}/scripts/build-version.js ${MBGL_GENERATED}
VERBATIM
)