mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
Log OpenCV version in built in init.cc
This commit is contained in:
parent
fa663d449b
commit
e943fe727b
@ -18,6 +18,10 @@
|
||||
#include "LDAWrap.h"
|
||||
#include "Histogram.h"
|
||||
|
||||
#define STR_HELPER(x) #x
|
||||
#define STR(x) STR_HELPER(x)
|
||||
#pragma message ( "Building with OpenCV" STR(CV_MAJOR_VERSION) "." STR(CV_MINOR_VERSION) )
|
||||
|
||||
extern "C" void init(Local<Object> target) {
|
||||
Nan::HandleScope scope;
|
||||
OpenCV::Init(target);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user