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:38 (GMT)
commit619f5dcc3625be91e22cd74a2885426415ec84b5 (patch)
treedac6c51bf414f82688dc90e8d5bb450b35dd3e9f
parent97d7ec76e45706293061b7cde0ca2ea3a9ae40e2 (diff)
parent3d0e2775a554f33d4d0583f232d33057a4d8076c (diff)
downloadCMake-619f5dcc3625be91e22cd74a2885426415ec84b5.zip
CMake-619f5dcc3625be91e22cd74a2885426415ec84b5.tar.gz
CMake-619f5dcc3625be91e22cd74a2885426415ec84b5.tar.bz2
Merge topic 'hip-flags-append'
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)