Skip to content

Commit 587d194

Browse files
committed
FindOpenCL: Add support for version 3.0
1 parent 364fde6 commit 587d194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/FindOpenCL.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function(_FIND_OPENCL_VERSION)
4545
set(CMAKE_REQUIRED_QUIET ${OpenCL_FIND_QUIETLY})
4646

4747
CMAKE_PUSH_CHECK_STATE()
48-
foreach(VERSION "2_2" "2_1" "2_0" "1_2" "1_1" "1_0")
48+
foreach(VERSION "3_0" "2_2" "2_1" "2_0" "1_2" "1_1" "1_0")
4949
set(CMAKE_REQUIRED_INCLUDES "${OpenCL_INCLUDE_DIR}")
5050

5151
if(APPLE)

0 commit comments

Comments
 (0)