From 2e658c318d60806bc6bb361f11f8535d5fb1fe1f Mon Sep 17 00:00:00 2001 From: atillack Date: Wed, 7 Aug 2024 18:46:28 -0400 Subject: [PATCH] Quieten Xcode OpenCL nullability warning for older versions. --- Makefile.OpenCL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.OpenCL b/Makefile.OpenCL index 2d48b9fe..86b4a64c 100644 --- a/Makefile.OpenCL +++ b/Makefile.OpenCL @@ -33,7 +33,7 @@ ifeq ($(GPU_LIBRARY_PATH),) GPU_LIBRARY_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks endif # in the normal case we can just include the framework -LIB_OPENCL = -F$(GPU_LIBRARY_PATH) -framework OpenCL +LIB_OPENCL = -F$(GPU_LIBRARY_PATH) -framework OpenCL -Wno-nullability-completeness-on-arrays endif endif