Build Node bindings on Windows
This commit is contained in:
parent
b6c22ac73a
commit
232b814d7d
@ -5,7 +5,7 @@
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
#include "../../node_modules/nan/nan.h"
|
||||
#include <nan.h>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#include <functional>
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
#include "../../node_modules/nan/nan.h"
|
||||
#include <nan.h>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#include <memory>
|
||||
|
||||
@ -11,7 +11,7 @@ list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/node_modules/node-cmake")
|
||||
include(NodeJS)
|
||||
nodejs_init()
|
||||
|
||||
include_directories(BEFORE SYSTEM "${PROJECT_SOURCE_DIR}/node_modules/nan")
|
||||
include_directories(SYSTEM "D:\\a\\osrm-backend\\osrm-backend\\node_modules\\nan\\")
|
||||
|
||||
message(STATUS "Configuring node_osrm bindings for NodeJs ${NODEJS_VERSION}")
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user