mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
Move 'libraries' directive to toplevel
Suggested by @tootallnate, makes the build work on all *nix systems.
This commit is contained in:
parent
82694e5082
commit
447c949d09
@ -10,6 +10,9 @@
|
||||
, "src/Point.cc"
|
||||
, "src/VideoCaptureWrap.cc"
|
||||
]
|
||||
, 'libraries': [
|
||||
'<!@(pkg-config --libs opencv)'
|
||||
]
|
||||
, "conditions": [
|
||||
['OS=="mac"', {
|
||||
# cflags on OS X are stupid and have to be defined like this
|
||||
@ -20,9 +23,6 @@
|
||||
, "GCC_ENABLE_CPP_RTTI": "YES"
|
||||
, "GCC_ENABLE_CPP_EXCEPTIONS": "YES"
|
||||
},
|
||||
'libraries': [
|
||||
'<!@(pkg-config --libs opencv)'
|
||||
]
|
||||
}, {
|
||||
'cflags': [
|
||||
'<!@(pkg-config --cflags opencv)'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user