From 171214c9fa029e8df799303bdbcfc412572bab8c Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Thu, 27 Aug 2020 14:32:28 +0200 Subject: [PATCH] Fix for old CMake --- src/algorithms/tracking/gnuradio_blocks/CMakeLists.txt | 2 +- src/algorithms/tracking/libs/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/algorithms/tracking/gnuradio_blocks/CMakeLists.txt b/src/algorithms/tracking/gnuradio_blocks/CMakeLists.txt index 47d01de7b..e05ead426 100644 --- a/src/algorithms/tracking/gnuradio_blocks/CMakeLists.txt +++ b/src/algorithms/tracking/gnuradio_blocks/CMakeLists.txt @@ -110,7 +110,7 @@ if(ENABLE_CUDA) ) else() target_link_libraries(tracking_gr_blocks - PUBLIC ${CUDA_LIBRARIES} + PUBLIC cuda_correlator_lib ) target_include_directories(tracking_gr_blocks PUBLIC ${CUDA_INCLUDE_DIRS} diff --git a/src/algorithms/tracking/libs/CMakeLists.txt b/src/algorithms/tracking/libs/CMakeLists.txt index 01c2d6540..c6b90244e 100644 --- a/src/algorithms/tracking/libs/CMakeLists.txt +++ b/src/algorithms/tracking/libs/CMakeLists.txt @@ -51,7 +51,7 @@ if(ENABLE_CUDA) set(CUDA_PROPAGATE_HOST_FLAGS OFF) cuda_include_directories(${CMAKE_CURRENT_SOURCE_DIR}) set(LIB_TYPE STATIC) #set the lib type - cuda_add_library(CUDA_CORRELATOR_LIB ${LIB_TYPE} cuda_multicorrelator.h cuda_multicorrelator.cu) + cuda_add_library(cuda_correlator_lib ${LIB_TYPE} cuda_multicorrelator.h cuda_multicorrelator.cu) endif() endif()