diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-08-15 14:36:16 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-08-16 15:29:34 +0200 |
commit | 51391740bf324fd7131f069d1d2d106113560df3 (patch) | |
tree | 93b93bd806525966b531ed8d7b1aeeee43705058 /cmake/node.cmake | |
parent | 4e211548d5029a353aaa8814c40599970a8098bd (diff) | |
download | qtlocation-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.cmake | 10 |
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 ) |