From 3d0e2775a554f33d4d0583f232d33057a4d8076c Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 26 Oct 2021 10:47:58 -0400 Subject: HIP: Add missing space when appending --cuda-host-only Fixes: #22805 --- Modules/CMakeTestHIPCompiler.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12