mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
updated build script
This commit is contained in:
parent
62293f5ecb
commit
8f8181b539
@ -1,3 +1,7 @@
|
||||
#ifdef __cplusplus
|
||||
#import "opencv2/opencv.hpp"
|
||||
#endif
|
||||
|
||||
#include "OpenCV.h"
|
||||
#include "Point.h"
|
||||
#include "Matrix.h"
|
||||
|
||||
12
wscript
12
wscript
@ -5,10 +5,14 @@ def set_options(opt):
|
||||
def configure(conf):
|
||||
conf.check_tool('compiler_cxx')
|
||||
conf.check_tool('node_addon')
|
||||
#conf.check(lib='opencv', libpath=[
|
||||
# '/lib', '/usr/lib', '/usr/local/lib','/usr/local/include'], uselib_store='OPENCV', mandatory=True)
|
||||
conf.check_cfg(package='opencv', libpath=[
|
||||
'/lib', '/usr/lib', '/usr/local/lib','/usr/local/include'], args='--cflags --libs', uselib_store='OPENCV')
|
||||
conf.check_cfg(package='opencv',
|
||||
atleast_version='2.3.1',
|
||||
libpath=[
|
||||
'/lib', '/usr/lib', '/usr/local/lib','/usr/local/include',
|
||||
'/opt/local/include', '/opt/local/lib'],
|
||||
args='--cflags --libs',
|
||||
uselib_store='OPENCV',
|
||||
mandatory=True)
|
||||
|
||||
|
||||
def build(bld):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user