Skip to content

Commit

Permalink
Fix OpenCV tests on Unix
Browse files Browse the repository at this point in the history
git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@8113 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
  • Loading branch information
nico committed Nov 14, 2011
1 parent 8f28bac commit 69917f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions DeviceAdapters/configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ fi

# OpenCV
AX_OPENCV
AM_CONDITIONAL([BUILD_OPENCV],[test -n OPENCV_LDFLAGS])
AM_CONDITIONAL(BUILD_OPENCV,test x$hasopencv = xtrue)

# Only build ... when the code is there
AM_CONDITIONAL([BUILD_TEST],[test -f "Test/Test.h"])
Expand Down Expand Up @@ -274,7 +274,6 @@ AC_MSG_CHECKING(library prefix)
AC_MSG_RESULT($MMPREFIX)
AC_SUBST(MMPREFIX)


# Checks for library functions.
AC_HEADER_STDC
AC_CHECK_FUNCS([memset])
Expand Down
1 change: 1 addition & 0 deletions m4/ax_opencv.m4
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ if test "x$want_opencv" = "xyes"; then
done
fi
if test "$succeeded" = "yes"; then
hasopencv=true
AC_MSG_RESULT(yes)
OPENCV_LDFLAGS="$OPENCV_LDFLAGS -lopencv_video -lopencv_core -lopencv_highgui"
AC_SUBST(OPENCV_CPPFLAGS)
Expand Down

0 comments on commit 69917f9

Please sign in to comment.