diff options
author | Brad King <brad.king@kitware.com> | 2021-10-27 13:08:30 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-10-27 13:08:37 (GMT) |
commit | b78d0392ea114f103915f5a2d29cd2610377cff1 (patch) | |
tree | 29546317dfbbc815af853b424e399472c3b9e237 | |
parent | ed98970a13d13847acf595df1c5c98efab7f996b (diff) | |
parent | 3d0e2775a554f33d4d0583f232d33057a4d8076c (diff) | |
download | CMake-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.cmake | 2 |
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) |