diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/module.defs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/module.defs b/test/module.defs index ba7eaf5a4..0b42129ab 100644 --- a/test/module.defs +++ b/test/module.defs @@ -33,6 +33,11 @@ BUILD.out += $(TEST.install.exe) TEST.GCC.I += $(LIBHB.GCC.I) +ifeq (1,$(FEATURE.opencl)) + TEST.GCC.l += OpenCL + TEST.GCC.D += USE_OPENCL +endif + ifeq ($(BUILD.system),darwin) TEST.GCC.f += IOKit CoreServices AudioToolbox TEST.GCC.l += iconv @@ -44,10 +49,7 @@ else ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system)) ifeq ($(HAS.dlfcn),1) TEST.GCC.l += dl endif -ifeq (1,$(FEATURE.opencl)) - TEST.GCC.l += OpenCL - TEST.GCC.D += USE_OPENCL -endif + ifeq (1,$(FEATURE.hwd)) TEST.GCC.D += USE_HWD endif |