From 49158d015fba49f61325c9070655ac4b35d8e85c Mon Sep 17 00:00:00 2001 From: Ana Gainaru Date: Tue, 28 Nov 2023 11:25:05 -0800 Subject: [PATCH] Fix the HIP architecture CMAKE variable (#3931) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a26c9b34b6..1a1b21d87c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -188,7 +188,7 @@ if(ADIOS2_HAVE_CUDA OR ADIOS2_HAVE_Kokkos_CUDA) endif() if(NOT DEFINED CMAKE_HIP_ARCHITECTURES AND DEFINED Kokkos_HIP_ARCHITECTURES) - set(CMAKE_HIP_ARCHITECTURES Kokkos_HIP_ARCHITECTURES) + set(CMAKE_HIP_ARCHITECTURES ${Kokkos_HIP_ARCHITECTURES}) endif() if(ADIOS2_HAVE_MPI)