Skip to content

Commit 991ee97

Browse files
committed
fix CI build error
1 parent 54a5ca5 commit 991ee97

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/SYCLTLA.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ macro(replace_cmake_build_flags)
33
set(CMAKE_CXX_FLAGS_BK "${CMAKE_CXX_FLAGS}")
44
string(REPLACE "-Werror=format" "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
55
string(REPLACE "-Werror=format" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
6+
string(REPLACE "-Werror=unused-variable" "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
7+
string(REPLACE "-Werror=unused-variable" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
68
endmacro()
79

810
macro(restore_cmake_build_flags)

0 commit comments

Comments
 (0)