mirror of
https://github.com/bspeice/libcvautomation
synced 2024-12-04 13:58:11 -05:00
Fix an improper configure.ac
This commit is contained in:
parent
a01bf54b5d
commit
01411ebc4a
@ -30,8 +30,8 @@ AC_PATH_X
|
||||
|
||||
#Configure OpenCV - version 2+ breaks a lot of things
|
||||
PKG_CHECK_MODULES([OpenCV], [opencv >= 2.0.0], [use_opencv2=true], [use_opencv1=true])
|
||||
AM_CONDITIONAL(USEOPENCV2, [test "$use_opencv2" != ""])
|
||||
if test "$use_opencv2" != ""; then
|
||||
AM_CONDITIONAL(USEOPENCV2, true)
|
||||
AC_DEFINE(USEOPENCV2)
|
||||
fi
|
||||
if test "$use_opencv1" != ""; then
|
||||
|
Loading…
Reference in New Issue
Block a user