diff options
author | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2013-12-01 12:10:20 +0000 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-12-17 16:20:53 +0100 |
commit | f43e3ec83f745e657a8a5db66015967bdd8912da (patch) | |
tree | aa2a3f0453a6a8c0fecc89758c4742a9485cb9e1 /sc/CppunitTest_sc_opencl_test.mk | |
parent | deb46c8ad376896d191ad96791ae1eebc2ffa3b7 (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
(cherry picked from commit 5aa37dd9eb9b6f44c2a91f0e41bae42754ba733b)
Diffstat (limited to 'sc/CppunitTest_sc_opencl_test.mk')
-rw-r--r-- | sc/CppunitTest_sc_opencl_test.mk | 2 |
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 \ |