summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-10-26 10:47:58 -0400
committerBrad King <brad.king@kitware.com>2021-10-26 10:48:48 -0400
commit3d0e2775a554f33d4d0583f232d33057a4d8076c (patch)
tree79948f1cd0633685066d87242c538b8db2b8722f /Modules
parentfb6ab54076217452e673ad310faba2a1a993366f (diff)
downloadcmake-3d0e2775a554f33d4d0583f232d33057a4d8076c.tar.gz
HIP: Add missing space when appending --cuda-host-only
Fixes: #22805
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeTestHIPCompiler.cmake2
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)