You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
387 B

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) {
frameworks = [ "OpenCL.framework" ]
} else if (is_win) {
libs = [ "OpenCL.lib" ]
}
}