Skip to content

Commit c324001

Browse files
authored
[SYCL][Doc] Update CMake version requirements. (#10120)
LLVM project now requires CMake 3.20+.
1 parent 130919b commit c324001

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sycl/doc/GetStartedGuide.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ and a wide range of compute accelerators such as GPU and FPGA.
3939
## Prerequisites
4040

4141
* `git` - [Download](https://git-scm.com/downloads)
42-
* `cmake` version 3.14 or later - [Download](http://www.cmake.org/download/)
42+
* `cmake` version 3.20 or later - [Download](http://www.cmake.org/download/)
4343
* `python` - [Download](https://www.python.org/downloads/)
4444
* `ninja` -
4545
[Download](https://github.com/ninja-build/ninja/wiki/Pre-built-Ninja-packages)
@@ -743,8 +743,6 @@ compiler and by adding the SYCL specific flags. For example assuming `clang++`
743743
is on the `PATH`, a minimal `CMakeLists.txt` file for the sample above would be:
744744
745745
```cmake
746-
cmake_minimum_required(VERSION 3.14)
747-
748746
# Modifying the compiler should be done before the project line
749747
set(CMAKE_CXX_COMPILER "clang++")
750748
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsycl")

0 commit comments

Comments
 (0)