1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-09-21 03:39:48 +00:00

Fix FPGA-related CMakefile flags

This commit is contained in:
Marc Majoral 2024-07-24 13:22:03 +02:00
parent f2acb7dc2f
commit 468e840eb1
No known key found for this signature in database
GPG Key ID: 4CC7BE8C367C596C
3 changed files with 4 additions and 4 deletions

View File

@ -167,7 +167,7 @@ target_include_directories(signal_source_adapters
${GNSSSDR_SOURCE_DIR}/src/core/interfaces
)
if(ENABLE_FPGA)
if(ENABLE_FPGA OR ENABLE_AD9361)
target_link_libraries(signal_source_adapters
PUBLIC
signal_source_libs

View File

@ -29,7 +29,7 @@ if(ENABLE_DMA_PROXY)
set(OPT_SIGNAL_SOURCE_LIB_HEADERS ${OPT_SIGNAL_SOURCE_LIB_HEADERS} fpga_dma-proxy.h)
endif()
if(ENABLE_AD9361 OR ENABLE_MAX2771)
if((ENABLE_FPGA AND ENABLE_AD9361) OR ENABLE_MAX2771)
set(OPT_SIGNAL_SOURCE_LIB_SOURCES ${OPT_SIGNAL_SOURCE_LIB_SOURCES} fpga_buffer_monitor.cc)
set(OPT_SIGNAL_SOURCE_LIB_HEADERS ${OPT_SIGNAL_SOURCE_LIB_HEADERS} fpga_buffer_monitor.h)
endif()
@ -123,7 +123,7 @@ if(ENABLE_FMCOMMS2 OR ENABLE_AD9361 OR ENABLE_PLUTOSDR)
endif()
endif()
if(ENABLE_FPGA)
if(ENABLE_FPGA OR ENABLE_AD9361)
target_link_libraries(signal_source_libs
PUBLIC
algorithms_libs

View File

@ -52,7 +52,7 @@ if(ENABLE_FPGA)
)
endif()
if(ENABLE_FPGA)
if(ENABLE_FPGA OR ENABLE_AD9361)
set(CORE_LIBS_SOURCES
${CORE_LIBS_SOURCES}
uio_fpga.cc