Move 'libraries' directive to toplevel

Suggested by @tootallnate, makes the build work on all *nix systems.
This commit is contained in:
Felix Geisendörfer 2012-07-27 00:43:18 +02:00
parent 82694e5082
commit 447c949d09

View File

@ -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)'