16 lines
513 B
Plaintext
16 lines
513 B
Plaintext
$NetBSD$
|
|
|
|
https://skia-review.googlesource.com/c/skia/+/310856
|
|
|
|
--- third_party/skia/third_party/opencl/BUILD.gn.orig 2020-07-15 19:01:41.000000000 +0000
|
|
+++ third_party/skia/third_party/opencl/BUILD.gn
|
|
@@ -5,7 +5,7 @@ third_party("opencl") {
|
|
# (Some platforms only ship the C APIs, which cl.hpp builds on.)
|
|
public_include_dirs = [ "../externals/opencl-registry/api/2.1" ]
|
|
|
|
- if (is_linux) {
|
|
+ if (is_linux || is_bsd) {
|
|
libs = [ "OpenCL" ]
|
|
} else if (is_mac) {
|
|
libs = [ "OpenCL.framework" ]
|