diff options
author | Thomas Wood <thomas.wood@intel.com> | 2015-04-13 17:37:22 +0100 |
---|---|---|
committer | Thomas Wood <thomas.wood@intel.com> | 2015-04-14 17:44:35 +0100 |
commit | ecb03266b208bd95d160b8fb32d14fda87c5eb10 (patch) | |
tree | b96f638afe2888ea13fdde346ec29e87032b1d97 /lib/Makefile.am | |
parent | 90dadcd0da63d70155bb4c5a40c80a4f5c3e821c (diff) |
lib: load images from the data directory in igt_paint_image
Update igt_paint_image so that it can read images from the package data
directory.
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r-- | lib/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index 870b1a12..c74e211f 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -10,7 +10,8 @@ noinst_HEADERS = check-ndebug.h AM_CPPFLAGS = -I$(top_srcdir) AM_CFLAGS = $(DRM_CFLAGS) $(CWARNFLAGS) $(LIBUNWIND_CFLAGS) $(DEBUG_CFLAGS) \ - -DIGT_DATADIR=\""$(abs_top_srcdir)/tests"\" \ + -DIGT_SRCDIR=\""$(abs_top_srcdir)/tests"\" \ + -DIGT_DATADIR=\""$(pkgdatadir)"\" \ -DIGT_LOG_DOMAIN=\""$(subst _,-,$*)"\" \ -pthread |