oneapi-src / level-zero

oneAPI Level Zero Specification Headers and Loader
https://spec.oneapi.com/versions/latest/elements/l0/source/index.html
MIT License
208 stars 90 forks source link

Necessary OpenCL headers are not mentioned in Build instructions for level-zero #19

Closed againull closed 4 years ago

againull commented 4 years ago

If to use provided build instructions the following error occurs:

CMake Error at CMakeLists.txt:77 (message):
  OpenCL headers required for interop APIs

It is clear after looking to cmake file that path to headers must be provided in the following way: cmake -DOpenCL_INCLUDE_DIR=[path] ..

But should this be mentioned in instructions? So that user can build without problems from the first attempt and without looking to cmake files.