diff --git a/libdevice/cmake/modules/SYCLLibdevice.cmake b/libdevice/cmake/modules/SYCLLibdevice.cmake index 829cd23b66c21..8b7eaa3a723a4 100644 --- a/libdevice/cmake/modules/SYCLLibdevice.cmake +++ b/libdevice/cmake/modules/SYCLLibdevice.cmake @@ -320,7 +320,7 @@ function(add_devicelibs filename) FILETYPE ${filetype} SRC ${ARG_SRC} DEPENDENCIES ${ARG_DEPENDENCIES} - EXTRA_OPTS ${ARG_EXTRA_OPTS} ${${filetype}_device_compile_opts}) + EXTRA_OPTS ${ARG_EXTRA_OPTS}) endforeach() foreach(arch IN LISTS ARG_BUILD_ARCHS)