summaryrefslogtreecommitdiff
path: root/sci-libs/gloo/files/gloo-2023.01.17-cuda.patch
blob: 1a894d3e4251dfbb3516f942ecc5b057f58b93f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/gloo/CMakeLists.txt b/gloo/CMakeLists.txt
index 9ee82df..3b3affb 100644
--- a/gloo/CMakeLists.txt
+++ b/gloo/CMakeLists.txt
@@ -184,7 +184,7 @@ if(GLOO_INSTALL)
           DESTINATION ${CMAKE_INSTALL_LIBDIR})
   if(USE_CUDA)
     install(TARGETS gloo_cuda EXPORT GlooTargets
-        DESTINATION ${CMAKE_INSTALL_PREFIX}/lib)
+        DESTINATION ${CMAKE_INSTALL_LIBDIR})
   endif()
   if(USE_ROCM)
     install(TARGETS gloo_hip EXPORT GlooTargets