mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
add include dirs back
This commit is contained in:
parent
18cfce04d2
commit
27c86af042
@ -113,6 +113,7 @@
|
||||
"include_dirs": [
|
||||
"<!@(node utils/find-opencv.js --cflags)",
|
||||
"<!(node -e \"require('nan')\")",
|
||||
"<!(node -e \"require('./include_dirs')\")"
|
||||
],
|
||||
|
||||
"cflags!" : [ "-fno-exceptions"],
|
||||
|
||||
14
include_dirs.js
Normal file
14
include_dirs.js
Normal file
@ -0,0 +1,14 @@
|
||||
// Outputs the path to public node-opencv header files. This is used when
|
||||
// building other native node modules that require access to the
|
||||
// node-opencv Matrix base class.
|
||||
//
|
||||
// To use this file, add something like the following to your binding.gyp:
|
||||
//
|
||||
// "include_dirs": [
|
||||
// "<!@(pkg-config --cflags opencv)",
|
||||
// "<!(node -e \"require('nan')\")",
|
||||
// "<!(node -e \"require('opencv/include_dirs')\")"
|
||||
// ],
|
||||
//
|
||||
var path = require('path');
|
||||
console.log(path.relative('.', path.join(__dirname, 'inc')));
|
||||
Loading…
x
Reference in New Issue
Block a user