summaryrefslogtreecommitdiff
path: root/sc/Module_sc.mk
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2013-09-11 17:46:35 -0400
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-09-19 17:03:16 +0200
commit03f548e6fb74e83b32b59ba198e5c82e30320519 (patch)
tree3b18d60d64686f267615b6c53f33584ad0d4e41e /sc/Module_sc.mk
parentf1717208ec22f146acec5ad2483c5cdc9a536484 (diff)
Allow enable / disable opencl at build time.
Change-Id: I65e2a71aae8317930d1575e7d82c11c3fd2b74de
Diffstat (limited to 'sc/Module_sc.mk')
-rw-r--r--sc/Module_sc.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/sc/Module_sc.mk b/sc/Module_sc.mk
index 510cc82b8d9b..6522862f7389 100644
--- a/sc/Module_sc.mk
+++ b/sc/Module_sc.mk
@@ -15,11 +15,16 @@ $(eval $(call gb_Module_add_targets,sc,\
Library_sc \
Library_scd \
Library_scfilt \
- Library_scopencl \
Library_scui \
UIConfig_scalc \
))
+ifeq ($(ENABLE_OPENCL),TRUE)
+$(eval $(call gb_Module_add_targets,sc,\
+ Library_scopencl \
+))
+endif
+
ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
$(eval $(call gb_Module_add_targets,sc,\
Library_scqahelper \