summaryrefslogtreecommitdiff
path: root/offload
diff options
context:
space:
mode:
authorRoss Brunton <ross@codeplay.com>2025-06-24 13:42:03 +0100
committerGitHub <noreply@github.com>2025-06-24 13:42:03 +0100
commit478583214410305fbaaafd78f5c4d0899b260522 (patch)
tree24e7df6a603d4d4dc6d77010d0343548de3fe562 /offload
parent9aebfde1e70cbc1e1ac5b9d5d31352a88eea834b (diff)
[Offload] Fix cmake warning (#145488)
Cmake was unhappy that there was no space between arguments, now it is.
Diffstat (limited to 'offload')
-rw-r--r--offload/DeviceRTL/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/offload/DeviceRTL/CMakeLists.txt b/offload/DeviceRTL/CMakeLists.txt
index 4dd0daede80b..e4916f4d4975 100644
--- a/offload/DeviceRTL/CMakeLists.txt
+++ b/offload/DeviceRTL/CMakeLists.txt
@@ -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}