summaryrefslogtreecommitdiff
path: root/cmake/node.cmake
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-08-15 14:36:16 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-08-16 15:29:34 +0200
commit51391740bf324fd7131f069d1d2d106113560df3 (patch)
tree93b93bd806525966b531ed8d7b1aeeee43705058 /cmake/node.cmake
parent4e211548d5029a353aaa8814c40599970a8098bd (diff)
downloadqtlocation-mapboxgl-51391740bf324fd7131f069d1d2d106113560df3.tar.gz
[build] convert build-shaders script from Python to Node.js
Diffstat (limited to 'cmake/node.cmake')
-rw-r--r--cmake/node.cmake10
1 files changed, 0 insertions, 10 deletions
diff --git a/cmake/node.cmake b/cmake/node.cmake
index 081b158d41..034216b617 100644
--- a/cmake/node.cmake
+++ b/cmake/node.cmake
@@ -1,13 +1,3 @@
-if(NOT EXISTS ${CMAKE_SOURCE_DIR}/node_modules/node-cmake/FindNodeJS.cmake)
- message(FATAL_ERROR "Can't find node-cmake")
-endif()
-
-set(NodeJS_CXX_STANDARD 14 CACHE INTERNAL "Use C++14" FORCE)
-set(NodeJS_DOWNLOAD ON CACHE INTERNAL "Download node.js sources" FORCE)
-set(NodeJS_USE_CLANG_STDLIB OFF CACHE BOOL "Don't use libc++ by default" FORCE)
-list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/node_modules/node-cmake)
-find_package(NodeJS)
-
add_nodejs_module(mbgl-node
platform/node/src/node_mapbox_gl_native.cpp
)