Files
OpenCL-CTS/CMakeLists.txt
Pierre Moreau 3001148ca9 cl21: CMake improvements (#236)
* Do not append non-existing folder to CMAKE_MODULE_PATH

Fixes #221

* Add use of deprecated OpenCL 1.2 and 2.1 APIs

* Define CL_TARGET_OPENCL_VERSION to 210

Fixes #227

* Define cmake_minimum_required as first operation

The CMake documentation mentions that
> Call the cmake_minimum_required() command at the beginning of the
> top-level CMakeLists.txt file even before calling the project()
> command. It is important to establish version and policy settings
> before invoking other commands whose behavior they may affect.

* CMake: Match both AppleClang and Clang
2019-04-30 22:20:20 +08:00

6.1 KiB