diff --git a/src/init.cc b/src/init.cc index fdd58c6..5b1d78a 100755 --- a/src/init.cc +++ b/src/init.cc @@ -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 target) { Nan::HandleScope scope; OpenCV::Init(target);