# -*- bazel -*-

load("@drake//tools/skylark:cc.bzl", "cc_library")

licenses(["permissive"])  # BSD-2-Clause AND Expat

cc_library(
    name = "opencl",
    linkopts = select({
        "@drake//tools/skylark:osx": [
            "-framework OpenCL",
        ],
        "//conditions:default": [
            "-lOpenCL",
        ],
    }),
    visibility = ["//visibility:public"],
)
