Fix libmath and X11 libs not being linked

This commit is contained in:
Bradlee Speice 2013-06-10 16:56:35 -04:00
parent f4c3f700d6
commit 78893bc975

View File

@ -1,6 +1,6 @@
if BUILD_EXAMPLES
#Need to include the -Ilibcvautomation so that libcvautomation.h can find everything that it needs
AM_LDFLAGS = -L../libcvautomation/.libs -lcvautomation
AM_LDFLAGS = -L../libcvautomation/.libs -lcvautomation -lm @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