diff --git a/src/algorithms/telemetry_decoder/adapters/CMakeLists.txt b/src/algorithms/telemetry_decoder/adapters/CMakeLists.txt index 12c3e8a25..a374f25d0 100644 --- a/src/algorithms/telemetry_decoder/adapters/CMakeLists.txt +++ b/src/algorithms/telemetry_decoder/adapters/CMakeLists.txt @@ -64,14 +64,6 @@ target_link_libraries(telemetry_decoder_adapters Gnuradio::runtime ) -if(GNURADIO_USES_SPDLOG) - target_link_libraries(telemetry_decoder_adapters - PUBLIC - fmt::fmt - spdlog::spdlog - ) -endif() - target_include_directories(telemetry_decoder_adapters PUBLIC ${CMAKE_SOURCE_DIR}/src/core/interfaces diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/CMakeLists.txt b/src/algorithms/telemetry_decoder/gnuradio_blocks/CMakeLists.txt index d1858d7ef..b47f56187 100644 --- a/src/algorithms/telemetry_decoder/gnuradio_blocks/CMakeLists.txt +++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/CMakeLists.txt @@ -67,6 +67,14 @@ if(GNURADIO_USES_STD_POINTERS) ) endif() +if(GNURADIO_USES_SPDLOG) + target_link_libraries(telemetry_decoder_gr_blocks + PUBLIC + fmt::fmt + spdlog::spdlog + ) +endif() + target_include_directories(telemetry_decoder_gr_blocks PUBLIC ${CMAKE_SOURCE_DIR}/src/core/interfaces