Build Node bindings on Windows

This commit is contained in:
Siarhei Fedartsou 2022-08-26 10:39:46 +02:00
parent 2707eba7bc
commit a36034b275
2 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@
#include "util/json_util.hpp" #include "util/json_util.hpp"
#include <iterator> #include <iterator>
#include <map>
#include <vector> #include <vector>
namespace osrm namespace osrm

View File

@ -14,7 +14,7 @@ nodejs_init()
message(STATUS "Configuring node_osrm bindings for NodeJs ${NODEJS_VERSION}") message(STATUS "Configuring node_osrm bindings for NodeJs ${NODEJS_VERSION}")
add_nodejs_module(node_osrm node_osrm.cpp) add_nodejs_module(node_osrm node_osrm.cpp)
set_target_properties(node_osrm PROPERTIES CXX_STANDARD 14) set_target_properties(node_osrm PROPERTIES CXX_STANDARD 17)
# TODO: we disable clang-tidy for this target, because it causes errors in third-party NodeJs related headers # TODO: we disable clang-tidy for this target, because it causes errors in third-party NodeJs related headers
set_target_properties(node_osrm PROPERTIES CXX_CLANG_TIDY "") set_target_properties(node_osrm PROPERTIES CXX_CLANG_TIDY "")