Skip to content

Commit a370dba

Browse files
committed
Disable warnings when building sycl-ls
1 parent 5c8433e commit a370dba

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

sycl/tools/sycl-ls/CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ if (WIN32 AND "${build_type_lower}" MATCHES "debug")
99
endif()
1010

1111
# Disable aspect::image & deprecation warnings.
12-
target_compile_definitions(sycl-ls PRIVATE SYCL_DISABLE_IMAGE_ASPECT_WARNING SYCL2020_DISABLE_DEPRECATION_WARNINGS SYCL_DISABLE_FSYCL_SYCLHPP_WARNING)
12+
target_compile_definitions(sycl-ls
13+
PRIVATE
14+
__SYCL_DISABLE_DEPRECATION_WARNINGS
15+
SYCL_DISABLE_IMAGE_ASPECT_WARNING
16+
SYCL2020_DISABLE_DEPRECATION_WARNINGS
17+
SYCL_DISABLE_FSYCL_SYCLHPP_WARNING)
1318

1419
target_link_libraries(sycl-ls
1520
PRIVATE

0 commit comments

Comments
 (0)