mirror of
https://github.com/bspeice/libcvautomation
synced 2025-04-21 00:41:29 -04: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
|
#Configure OpenCV - version 2+ breaks a lot of things
|
||||||
PKG_CHECK_MODULES([OpenCV], [opencv >= 2.0.0], [use_opencv2=true], [use_opencv1=true])
|
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
|
if test "$use_opencv2" != ""; then
|
||||||
AM_CONDITIONAL(USEOPENCV2, true)
|
|
||||||
AC_DEFINE(USEOPENCV2)
|
AC_DEFINE(USEOPENCV2)
|
||||||
fi
|
fi
|
||||||
if test "$use_opencv1" != ""; then
|
if test "$use_opencv1" != ""; then
|
||||||
|
Loading…
Reference in New Issue
Block a user