Skip to content

Commit decd456

Browse files
authored
Update CMakeLists.txt
1 parent 2f1644a commit decd456

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,9 @@ if(SCALABLE_CCD_WITH_CUDA)
166166
endif()
167167

168168
# We need to explicitly state that we need all CUDA files in the particle
169-
# Enable separable compilation for CUDA
170169
# library to be built with -dc as the member functions could be called by
171170
# other libraries and executables.
172-
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
173-
set_target_properties(scalable_ccd PROPERTIES CUDA_SEPARABLE_COMPILATION ON POSITION_INDEPENDENT_CODE ON)
171+
set_target_properties(scalable_ccd PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
174172

175173
if(DEFINED SCALABLE_CCD_CUDA_ARCHITECTURES)
176174
message(STATUS "CUDA_ARCHITECTURES was specified, skipping auto-detection")

0 commit comments

Comments
 (0)