summaryrefslogtreecommitdiffstats
path: root/Modules/FindOpenCL.cmake
Commit message (Collapse)AuthorAgeFilesLines
* FindOpenCL: Add missing PATHS keywordKirill Mavreshko2017-05-051-0/+1
| | | | | | | The change in commit b888104e44 (FindOpenCL: add AMDAPPSDKROOT into paths for OpenCL library, 2017-05-03) accidentally left out the `PATHS` keyword. Without it properly installed AMD APP SDK (OpenCL) cannot be detected. Tested on Ubuntu 16.04.
* FindOpenCL: add AMDAPPSDKROOT into paths for OpenCL libraryJeremy Tellaa2017-05-031-1/+5
| | | | | This path was only looked up for windows. The AMD SDK also exists for Linux, and we may want to use the OpenCL library for there.
* Simplify CMake per-source license noticesBrad King2016-09-271-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* FindOpenCL: Fix search on macOS.Matthäus G. Chajdas2016-08-081-3/+10
| | | | The original patch was provided by jerry <jerry.c.t@web.de>.
* FindOpenCL: Add an imported targetMatthäus G. Chajdas2016-06-021-2/+18
|
* FindOpenCL: Added missing ENV for each environment variable referenceMatthäus G. Chajdas2014-06-231-21/+22
| | | | | Also add an 'include' path suffix that may appear after the value of some of the environment variables.
* Find*: Make find_package(.. QUIET) affect Check* modules.Clinton Stimpson2014-03-301-0/+1
| | | | | | | | | | Fixes issues #14812 and #14813 where find_package(OpenMP QUIET) and find_package(Qt4 QUIET) would still print out messages when calling check*() functions. Also a partial fix for #14445 where building CMake (without cmake-gui) when Qt5 is installed and Qt4 is not installed and warnings come out of FindQt4.cmake.
* Add FindOpenCL moduleMatthäus G. Chajdas2014-02-261-0/+134