Skip to content

Commit

Permalink
Update predep.h
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhuazou committed Mar 27, 2013
1 parent 27a7fce commit 0bba232
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion predep.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@

#include "opencv2/core/version.hpp"

#if CV_MAJOR_VERSION >= 2 && CV_MINOR_VERSION >= 4
#define CV_VERSION_ID CVAUX_STR(CV_MAJOR_VERSION) CVAUX_STR(CV_MINOR_VERSION) CVAUX_STR(CV_SUBMINOR_VERSION)
#endif

#ifdef _DEBUG
#define cvLIB(name) "opencv_" name CV_VERSION_ID "d"
#else
#define cvLIB(name) "opencv_" name CV_VERSION_ID
#endif

#endif
#endif

0 comments on commit 0bba232

Please sign in to comment.