Skip to content

Commit 6beff05

Browse files
committed
bump the required CMake version to 3.16
The latest CI pipelines have updated to CMake 4.0, which drops support for CMake 3.5 and before. Updating the required CMake version to 3.16 should still support older operating systems, but allow the latest CI pipelines to run.
1 parent 80c943a commit 6beff05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# Note: cmake 3.7 is needed to use OpenCL::OpenCL.
66
# Older versions may work by explicitly specifying OpenCL_INCLUDE_DIRS and OpenCL_LIBRARIES.
7-
cmake_minimum_required(VERSION 3.7 FATAL_ERROR)
7+
cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
88
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
99

1010
set(CMAKE_CXX_STANDARD 11)

0 commit comments

Comments
 (0)