diff options
author | Brad King <brad.king@kitware.com> | 2021-10-26 10:47:58 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-10-26 10:48:48 -0400 |
commit | 3d0e2775a554f33d4d0583f232d33057a4d8076c (patch) | |
tree | 79948f1cd0633685066d87242c538b8db2b8722f /Modules | |
parent | fb6ab54076217452e673ad310faba2a1a993366f (diff) | |
download | cmake-3d0e2775a554f33d4d0583f232d33057a4d8076c.tar.gz |
HIP: Add missing space when appending --cuda-host-only
Fixes: #22805
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeTestHIPCompiler.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeTestHIPCompiler.cmake b/Modules/CMakeTestHIPCompiler.cmake index 5acd806240..ecbfa7fc28 100644 --- a/Modules/CMakeTestHIPCompiler.cmake +++ b/Modules/CMakeTestHIPCompiler.cmake @@ -10,7 +10,7 @@ if(CMAKE_HIP_COMPILER_FORCED) endif() set(__CMAKE_HIP_FLAGS "${CMAKE_HIP_FLAGS}") -string(APPEND CMAKE_HIP_FLAGS "--cuda-host-only") +string(APPEND CMAKE_HIP_FLAGS " --cuda-host-only") include(CMakeTestCompilerCommon) |