Skip to content

Commit 3d6647e

Browse files
[SYCL][CMake] Fix build with icpx on Windows (#19330)
1 parent bb1f6d4 commit 3d6647e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Sema/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if (is_gcc OR is_clang OR (is_icpx AND NOT WIN32))
3434
set(opts_to_apply ${linux_opts})
3535
elseif (is_msvc)
3636
set(opts_to_apply "/W4")
37-
elseif (is_icpx and WIN32)
37+
elseif (is_icpx AND WIN32)
3838
set(opts_to_apply "/Wall")
3939
endif()
4040

0 commit comments

Comments
 (0)