Skip to content

Commit 20b1f1c

Browse files
authored
[SYCL][DOC] Fix sample CMakeLists.txt to specify language (#7383)
This is necessary when using it on Windows and doesn't hurt on Linux. See: #6026
1 parent ce7c594 commit 20b1f1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/doc/GetStartedGuide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ cmake_minimum_required(VERSION 3.14)
735735
set(CMAKE_CXX_COMPILER "clang++")
736736
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsycl")
737737
738-
project(simple-sycl-app)
738+
project(simple-sycl-app LANGUAGES CXX)
739739
740740
add_executable(simple-sycl-app simple-sycl-app.cpp)
741741
```

0 commit comments

Comments
 (0)