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 \