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
This commit is contained in:
Andrzej J.R. Hunt
2013-12-01 12:10:20 +00:00
parent bd77c4d178
commit 5aa37dd9eb

View File

@@ -37,7 +37,7 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_opencl_test, \
salhelper \
sax \
sc \
scopencl \
$(if $(ENABLE_OPENCL),scopencl) \
scqahelper \
sfx \
sot \