Skip to content

Commit 421c225

Browse files
author
Pavel V Chupin
committed
Additional options for other level_zero targets
1 parent 7031ac0 commit 421c225

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sycl/plugins/level_zero/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ if (NOT DEFINED LEVEL_ZERO_LIBRARY OR NOT DEFINED LEVEL_ZERO_INCLUDE_DIR)
2626
"-Wno-pedantic"
2727
"-Wno-stringop-truncation"
2828
)
29+
target_compile_options(ze_tracing_layer PRIVATE
30+
"-Wno-pedantic"
31+
)
2932

3033
set(LEVEL_ZERO_INCLUDE_DIR
3134
${level-zero-loader_SOURCE_DIR}/include CACHE PATH "Path to Level Zero Headers")

0 commit comments

Comments
 (0)