Fix build issues related to opencv2

This commit is contained in:
Bradlee Speice
2012-07-19 18:13:36 -04:00
parent 86332f894b
commit 84383e2053
2 changed files with 11 additions and 8 deletions

View File

@ -1,7 +1,7 @@
if BUILD_EXAMPLES
#Need to include the -Ilibcvautomation so that libcvautomation.h can find everything that it needs
AM_LDFLAGS = -L../libcvautomation/.libs -lcvautomation `pkg-config --libs x11` `pkg-config --libs opencv` `pkg-config --libs xtst`
AM_CFLAGS = -Wall -Werror -O2 -I$(top_srcdir)/include
AM_LDFLAGS = -L../libcvautomation/.libs -lcvautomation @X11_LIBS@ @XTEST_LIBS@ @CV_LIBS@
AM_CFLAGS = -Wall -Werror -O2 -I$(top_srcdir)/include @X11_CFLAGS@ @XTEST_CFLAGS@ @CV_CFLAGS@
#Build only if we're building the examples
bin_PROGRAMS = cva-match cva-input