Skip to content

Commit 3bdc448

Browse files
committed
fix cmake
Signed-off-by: jinge90 <[email protected]>
1 parent 78235d0 commit 3bdc448

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libdevice/cmake/modules/SYCLLibdevice.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ function(add_devicelibs filename)
197197
endforeach()
198198

199199
foreach(arch IN LISTS devicelib_arch)
200-
list(FIND ${ARG_SKIP_ARCHS} ${arch} skip_idx)
201-
if (skip_idx EQUAL -1)
200+
list(FIND ${ARG_SKIP_ARCHS} "${arch}" skip_idx)
201+
if (${skip_idx} EQUAL -1)
202202
compile_lib(${filename}-${arch}
203203
FILETYPE bc
204204
SRC ${ARG_SRC}

0 commit comments

Comments
 (0)