summaryrefslogtreecommitdiff
path: root/sc/CppunitTest_sc_opencl_test.mk
diff options
context:
space:
mode:
authorAndrzej J.R. Hunt <andrzej@ahunt.org>2013-12-01 12:10:20 +0000
committerAndrzej J.R. Hunt <andrzej@ahunt.org>2013-12-01 12:16:25 +0000
commit5aa37dd9eb9b6f44c2a91f0e41bae42754ba733b (patch)
tree92732905ed4e42e9aef6104d2c92076a9056ef50 /sc/CppunitTest_sc_opencl_test.mk
parentbd77c4d178db1cd12bff48ea826e1fdd2510511e (diff)
OCppunitTest_sc_opencl_test: only depend on scopencl if ENABLE_OPENCL.
scopencl is only built when ENABLE_OPENCL is true, but the unit test should still run successfully using the fallback mechanism without scopencl (i.e. when --disable-opencl is used). Change-Id: I4b44148f1f59ad8b3d9c78c2fd0e1cbe2030db37
Diffstat (limited to 'sc/CppunitTest_sc_opencl_test.mk')
-rw-r--r--sc/CppunitTest_sc_opencl_test.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/CppunitTest_sc_opencl_test.mk b/sc/CppunitTest_sc_opencl_test.mk
index d808e4417777..ef5792c99b2c 100644
--- a/sc/CppunitTest_sc_opencl_test.mk
+++ b/sc/CppunitTest_sc_opencl_test.mk
@@ -37,7 +37,7 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_opencl_test, \
salhelper \
sax \
sc \
- scopencl \
+ $(if $(ENABLE_OPENCL),scopencl) \
scqahelper \
sfx \
sot \