summaryrefslogtreecommitdiff
path: root/tools/Makefile.am
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-04-01 12:02:05 +0200
committerraveit65 <[email protected]>2020-04-03 16:27:59 +0200
commitcbbf133bd515bab90a338e235438acd324d6713f (patch)
tree2803644258cf05d5a7aaeb87e70de45fe6bb8449 /tools/Makefile.am
parent212df6c3085bf020ec9e4b9c0aee30d35f547ccc (diff)
downloadmate-session-manager-cbbf133bd515bab90a338e235438acd324d6713f.tar.bz2
mate-session-manager-cbbf133bd515bab90a338e235438acd324d6713f.tar.xz
build: make libglesv2 optional
Diffstat (limited to 'tools/Makefile.am')
-rw-r--r--tools/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 3948006..92222ff 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -1,8 +1,7 @@
bin_PROGRAMS = mate-session-save mate-session-inhibit
libexec_PROGRAMS = \
mate-session-check-accelerated \
- mate-session-check-accelerated-gl-helper \
- mate-session-check-accelerated-gles-helper
+ mate-session-check-accelerated-gl-helper
AM_CPPFLAGS = \
$(MATE_SESSION_CFLAGS) \
@@ -31,6 +30,9 @@ mate_session_inhibit_CPPFLAGS = \
mate_session_inhibit_LDADD = \
$(MATE_SESSION_LIBS)
+if HAVE_GLESV2
+libexec_PROGRAMS += mate-session-check-accelerated-gles-helper
+
mate_session_check_accelerated_gles_helper_SOURCES = \
mate-session-check-accelerated-common.h \
mate-session-check-accelerated-gles-helper.c
@@ -46,6 +48,7 @@ mate_session_check_accelerated_gles_helper_LDADD = \
$(GLES_TEST_LIBS) \
$(GTK3_LIBS) \
$(X11_LIBS)
+endif
mate_session_check_accelerated_gl_helper_SOURCES = \
mate-session-check-accelerated-common.h \