summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-10-27 13:08:30 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-10-27 13:08:37 (GMT)
commitb78d0392ea114f103915f5a2d29cd2610377cff1 (patch)
tree29546317dfbbc815af853b424e399472c3b9e237
parented98970a13d13847acf595df1c5c98efab7f996b (diff)
parent3d0e2775a554f33d4d0583f232d33057a4d8076c (diff)
downloadCMake-b78d0392ea114f103915f5a2d29cd2610377cff1.zip
CMake-b78d0392ea114f103915f5a2d29cd2610377cff1.tar.gz
CMake-b78d0392ea114f103915f5a2d29cd2610377cff1.tar.bz2
Merge topic 'hip-flags-append' into release-3.22
3d0e2775a5 HIP: Add missing space when appending --cuda-host-only Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6662
-rw-r--r--Modules/CMakeTestHIPCompiler.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeTestHIPCompiler.cmake b/Modules/CMakeTestHIPCompiler.cmake
index 5acd806..ecbfa7f 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)