Skip to content

Commit

Permalink
Quieten Xcode OpenCL nullability warning for older versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
atillack committed Aug 7, 2024
1 parent 8ae1a9a commit 2e658c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.OpenCL
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2e658c3

Please sign in to comment.