[Offload] Fix cmake warning (#145488)

Cmake was unhappy that there was no space between arguments, now it
is.
This commit is contained in:
Ross Brunton 2025-06-24 13:42:03 +01:00 committed by GitHub
parent 9aebfde1e7
commit 4785832144
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -156,7 +156,7 @@ function(compileDeviceRTLLibrary target_name target_triple)
)
target_link_libraries(omptarget.${target_name} PRIVATE omptarget.${target_name}.all_objs)
target_link_options(omptarget.${target_name} PRIVATE "--target=${target_triple}"
"-Wno-unused-command-line-argument""-r" "-nostdlib" "-flto"
"-Wno-unused-command-line-argument" "-r" "-nostdlib" "-flto"
"-Wl,--lto-emit-llvm" "-fuse-ld=lld" "-march=" "-mcpu=")
install(TARGETS omptarget.${target_name}