diff options
author | Brad King <brad.king@kitware.com> | 2017-10-23 15:40:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-10-23 15:40:34 (GMT) |
commit | d9430d17390ef5a6badef9083b113853d08d0478 (patch) | |
tree | 6770ca3087fd5920e8aea69ae8858ce9f6878e33 | |
parent | 0f016fae3e971ce6b5c3367681c7ac685dff85ae (diff) | |
parent | 55f7930f0e829777c401d3863152350f9e8fafa8 (diff) | |
download | CMake-d9430d17390ef5a6badef9083b113853d08d0478.zip CMake-d9430d17390ef5a6badef9083b113853d08d0478.tar.gz CMake-d9430d17390ef5a6badef9083b113853d08d0478.tar.bz2 |
Merge branch 'FindOpenCL-more-versions' into release-3.10
Merge-request: !1398
-rw-r--r-- | Modules/FindOpenCL.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindOpenCL.cmake b/Modules/FindOpenCL.cmake index b8a7d82..0db2dd2 100644 --- a/Modules/FindOpenCL.cmake +++ b/Modules/FindOpenCL.cmake @@ -37,7 +37,7 @@ function(_FIND_OPENCL_VERSION) set(CMAKE_REQUIRED_QUIET ${OpenCL_FIND_QUIETLY}) CMAKE_PUSH_CHECK_STATE() - foreach(VERSION "2_0" "1_2" "1_1" "1_0") + foreach(VERSION "2_2" "2_1" "2_0" "1_2" "1_1" "1_0") set(CMAKE_REQUIRED_INCLUDES "${OpenCL_INCLUDE_DIR}") if(APPLE) |