Skip to content

Commit

Permalink
Add Nan as dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
FelipeGdM committed Feb 2, 2021
1 parent 6f40610 commit 8a6a7d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gzbridge/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"pb2json.cc", "pb2json.hh",
"ConfigLoader.cc", "ConfigLoader.hh",
"OgreMaterialParser.cc", "OgreMaterialParser.hh"],
"include_dirs" : [
"<!(node -e \"require('nan')\")"
],
'cflags_cc!': [ '-fno-rtti', '-fno-exceptions' ],
'cflags!': [ '-fno-exceptions' ],
"cflags_cc": [ '-std=c++17', '-Wall'],
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"dependencies": {
"fs": "0.0.1-security",
"http": "0.0.0",
"nan": "^2.14.2",
"node-gyp": "6.1.0",
"path": "^0.12.7",
"websocket": "^1.0.25"
Expand Down

0 comments on commit 8a6a7d6

Please sign in to comment.