Log OpenCV version in built in init.cc

This commit is contained in:
Simon Hailes 2017-11-14 13:21:13 +00:00
parent fa663d449b
commit e943fe727b

View File

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