Skip to content

Commit 2786195

Browse files
committed
disabled covered-switch-default warning for SYCL (only)
Signed-off-by: Chris Perkins <[email protected]>
1 parent 3fe22db commit 2786195

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ set(SYCL_VERSION_STRING "${SYCL_MAJOR_VERSION}.${SYCL_MINOR_VERSION}.${SYCL_PATC
2525
if (MSVC)
2626
set(CMAKE_CXX_FLAGS "/W4 ${CMAKE_CXX_FLAGS}")
2727
else ()
28-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wno-deprecated-declarations")
28+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wno-deprecated-declarations -Wno-covered-switch-default")
2929
endif()
3030

3131
if(SYCL_ENABLE_WERROR)

0 commit comments

Comments
 (0)