Files
OpenCL-CTS/CMakeLists.txt
Pierre Moreau 64609a7d78 cl20: CMake improvements (#235)
* Do not append non-existing folder to CMAKE_MODULE_PATH

Fixes #221

* Add use of deprecated OpenCL 1.2 APIs

* Define CL_TARGET_OPENCL_VERSION to 200

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:19:51 +08:00

6.0 KiB