From 9b15e664d103c581020aa5285171b67483eb5c59 Mon Sep 17 00:00:00 2001 From: sven Date: Tue, 21 May 2024 17:34:59 +0200 Subject: [PATCH] fix alpaka_add_library relocatable device code (#2273) --- cmake/addLibrary.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/addLibrary.cmake b/cmake/addLibrary.cmake index b930539f7b60..f6cf7028482c 100644 --- a/cmake/addLibrary.cmake +++ b/cmake/addLibrary.cmake @@ -13,10 +13,10 @@ # Using a macro to stay in the scope (fixes lost assignment of linker command in FindHIP.cmake) # https://github.com/ROCm-Developer-Tools/HIP/issues/631 -macro(alpaka_add_library libraryName) +macro(alpaka_add_library In_Name) # add_library( [STATIC | SHARED | MODULE] [EXCLUDE_FROM_ALL] [...]) - add_library(${libraryName} ${ARGN}) + add_library(${In_Name} ${ARGN}) if(alpaka_ACC_GPU_CUDA_ENABLE) enable_language(CUDA)