mirror of
https://github.com/bspeice/libcvautomation
synced 2024-12-04 05:48:10 -05:00
Fix how library dependencies are built
This commit is contained in:
parent
04131913b2
commit
98dbd7ef83
@ -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 @X11_LIBS@ @XTEST_LIBS@ @CV_LIBS@
|
||||
AM_LDFLAGS = -L../libcvautomation/.libs -lcvautomation
|
||||
AM_CFLAGS = -Wall -Werror -O2 -I$(top_srcdir)/include @X11_CFLAGS@ @XTEST_CFLAGS@ @CV_CFLAGS@
|
||||
|
||||
#Build only if we're building the examples
|
||||
|
@ -6,5 +6,5 @@ includedir=@includedir@
|
||||
Name: Libcvautomation
|
||||
Description: GUI Automation and Testing tool based on OpenCV and XTest
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lcvautomation @CV_LIBS@ @X11_LIBS@ @XTEST_LIBS@
|
||||
Cflags: -I${includedir} @CV_CFLAGS@ @X11_CFLAGS@ @XTEST_CFLAGS@
|
||||
Libs: -L${libdir} -lcvautomation
|
||||
Cflags: -I${includedir}
|
||||
|
@ -1,5 +1,5 @@
|
||||
AM_CFLAGS = -Wall -Werror -O2 -I$(top_srcdir)/include/
|
||||
AM_LDFLAGS =
|
||||
AM_CFLAGS = -Wall -Werror -O2 -I$(top_srcdir)/include @X11_CFLAGS@ @XTEST_CFLAGS@ @CV_CFLAGS@
|
||||
AM_LDFLAGS = @X11_LIBS@ @XTEST_LIBS@ @CV_LIBS@
|
||||
AM_LIBS = -shared
|
||||
|
||||
#Lists the libraries to build
|
||||
|
Loading…
Reference in New Issue
Block a user