HIP: Add missing space when appending --cuda-host-only

Fixes: #22805
This commit is contained in:
Brad King 2021-10-26 10:47:58 -04:00
parent fb6ab54076
commit 3d0e2775a5

View File

@ -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)