diff --git a/ocl/build_kernel.c b/ocl/build_kernel.c index dfa8b99f..73527bf1 100644 --- a/ocl/build_kernel.c +++ b/ocl/build_kernel.c @@ -49,7 +49,7 @@ static char *file_contents(const char *filename, int *length) void set_base_compiler_options(build_kernel_data *data) { char buf[255]; - sprintf(data->compiler_options, "-I \"%s\" -I \"%s\\kernel\" -I \".\" -D WORKSIZE=%d", + sprintf(data->compiler_options, "-I \"%s\" -I \"%s/kernel\" -I \".\" -D WORKSIZE=%d", data->sgminer_path, data->sgminer_path, (int)data->work_size); applog(LOG_DEBUG, "Setting worksize to %d", (int)(data->work_size));