OpenCL: fix building when OpenCL is disabled

This commit is contained in:
李通洲
2024-06-20 15:34:09 +08:00
parent 3c7cb339e2
commit 146c9b2bc6
+1 -1
View File
@@ -1,4 +1,5 @@
#include "detection/opencl/opencl.h"
#include "detection/gpu/gpu.h"
#if !defined(FF_HAVE_OPENCL) && defined(__APPLE__) && defined(MAC_OS_X_VERSION_10_15)
#define FF_HAVE_OPENCL 1
@@ -8,7 +9,6 @@
#include "common/library.h"
#include "common/parsing.h"
#include "detection/gpu/gpu.h"
#include "util/stringUtils.h"
#include <string.h>