diff --git a/src/algorithms/acquisition/libs/CMakeLists.txt b/src/algorithms/acquisition/libs/CMakeLists.txt index 88228a91f..45b09f80a 100644 --- a/src/algorithms/acquisition/libs/CMakeLists.txt +++ b/src/algorithms/acquisition/libs/CMakeLists.txt @@ -86,7 +86,7 @@ if(ENABLE_CUDA) CUDA::cufft ) set_target_properties(acquisition_libs PROPERTIES - CUDA_SEPARABLE_COMPILATION ON + CUDA_SEPARABLE_COMPILATION OFF POSITION_INDEPENDENT_CODE ON CUDA_RESOLVE_DEVICE_SYMBOLS ON ) diff --git a/src/algorithms/tracking/adapters/CMakeLists.txt b/src/algorithms/tracking/adapters/CMakeLists.txt index 6f6dc6840..2e59fac49 100644 --- a/src/algorithms/tracking/adapters/CMakeLists.txt +++ b/src/algorithms/tracking/adapters/CMakeLists.txt @@ -104,7 +104,7 @@ if(ENABLE_CUDA) ) endif() set_target_properties(tracking_adapters PROPERTIES - CUDA_SEPARABLE_COMPILATION ON + CUDA_SEPARABLE_COMPILATION OFF POSITION_INDEPENDENT_CODE ON ) endif() diff --git a/src/algorithms/tracking/gnuradio_blocks/CMakeLists.txt b/src/algorithms/tracking/gnuradio_blocks/CMakeLists.txt index 69bc157b7..e1d011c64 100644 --- a/src/algorithms/tracking/gnuradio_blocks/CMakeLists.txt +++ b/src/algorithms/tracking/gnuradio_blocks/CMakeLists.txt @@ -109,7 +109,7 @@ if(ENABLE_CUDA) ) endif() set_target_properties(tracking_gr_blocks PROPERTIES - CUDA_SEPARABLE_COMPILATION ON + CUDA_SEPARABLE_COMPILATION OFF POSITION_INDEPENDENT_CODE ON ) endif() diff --git a/src/algorithms/tracking/libs/CMakeLists.txt b/src/algorithms/tracking/libs/CMakeLists.txt index c4402d1cd..c61cb05bf 100644 --- a/src/algorithms/tracking/libs/CMakeLists.txt +++ b/src/algorithms/tracking/libs/CMakeLists.txt @@ -119,7 +119,7 @@ if(ENABLE_CUDA) ) endif() set_target_properties(tracking_libs PROPERTIES - CUDA_SEPARABLE_COMPILATION ON + CUDA_SEPARABLE_COMPILATION OFF POSITION_INDEPENDENT_CODE ON CUDA_RESOLVE_DEVICE_SYMBOLS ON ) diff --git a/src/core/receiver/CMakeLists.txt b/src/core/receiver/CMakeLists.txt index 7c7b35e6a..3b9541c53 100644 --- a/src/core/receiver/CMakeLists.txt +++ b/src/core/receiver/CMakeLists.txt @@ -173,7 +173,7 @@ if(ENABLE_CUDA) ) endif() set_target_properties(core_receiver PROPERTIES - CUDA_SEPARABLE_COMPILATION ON + CUDA_SEPARABLE_COMPILATION OFF POSITION_INDEPENDENT_CODE ON ) target_compile_definitions(core_receiver PRIVATE -DCUDA_GPU_ACCEL=1) diff --git a/src/main/CMakeLists.txt b/src/main/CMakeLists.txt index 4a85d296e..022def69d 100644 --- a/src/main/CMakeLists.txt +++ b/src/main/CMakeLists.txt @@ -51,7 +51,7 @@ if(ENABLE_CUDA) ) endif() set_target_properties(gnss-sdr PROPERTIES - CUDA_SEPARABLE_COMPILATION ON + CUDA_SEPARABLE_COMPILATION OFF POSITION_INDEPENDENT_CODE ON ) target_compile_definitions(gnss-sdr PRIVATE -DCUDA_GPU_ACCEL=1)