blob: 03b2a90c6fb125ea3d61991f42671ba240596b3f [file] [log] [blame]
import("../third_party.gni")
third_party("opencl") {
# OpenCL C++ wrapper API, cl.hpp.
# (Some platforms only ship the C APIs, which cl.hpp builds on.)
public_include_dirs = [ "../externals/opencl-registry/api/2.1" ]
if (is_linux) {
libs = [ "OpenCL" ]
} else if (is_mac) {
libs = [ "OpenCL.framework" ]
} else if (is_win) {
libs = [ "OpenCL.lib" ]
}
}