Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Commit d5566ce

Browse files
committed
Enable PIC for RDC targets.
1 parent bd41fb4 commit d5566ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/CubUtilities.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ function(cub_configure_cuda_target target_name)
2020
if (cub_cuda_RDC)
2121
set_target_properties(${target_name} PROPERTIES
2222
CUDA_ARCHITECTURES "${CUB_CUDA_ARCHITECTURES_RDC}"
23+
POSITION_INDEPENDENT_CODE ON
2324
CUDA_SEPARABLE_COMPILATION ON)
2425
else()
2526
set_target_properties(${target_name} PROPERTIES

0 commit comments

Comments
 (0)