mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-11-13 05:20:04 +00:00
Adjust cross-compilation flags to properly support FPGA signal sources
This commit is contained in:
parent
d24c35854a
commit
9567e95e33
@ -3348,6 +3348,12 @@ if(ENABLE_AD9361 OR ENABLE_FMCOMMS2)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
##############################################
|
||||||
|
# Check FPGA-related signal sources
|
||||||
|
##############################################
|
||||||
|
if((ENABLE_AD9361 OR ENABLE_FPGA_MAX2771_EVKIT) AND NOT ENABLE_FPGA)
|
||||||
|
message(FATAL_ERROR "ENABLE_AD9361 and ENABLE_FPGA_MAX2771_EVKIT can only be set when ENABLE_FPGA is also set.")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
##############################################
|
##############################################
|
||||||
|
@ -167,7 +167,7 @@ target_include_directories(signal_source_adapters
|
|||||||
${GNSSSDR_SOURCE_DIR}/src/core/interfaces
|
${GNSSSDR_SOURCE_DIR}/src/core/interfaces
|
||||||
)
|
)
|
||||||
|
|
||||||
if(ENABLE_FPGA OR ENABLE_AD9361 OR ENABLE_FPGA_MAX2771_EVKIT)
|
if(ENABLE_FPGA)
|
||||||
target_link_libraries(signal_source_adapters
|
target_link_libraries(signal_source_adapters
|
||||||
PUBLIC
|
PUBLIC
|
||||||
signal_source_libs
|
signal_source_libs
|
||||||
|
@ -120,7 +120,7 @@ if(ENABLE_FMCOMMS2 OR ENABLE_AD9361 OR ENABLE_PLUTOSDR)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(ENABLE_FPGA OR ENABLE_AD9361)
|
if(ENABLE_FPGA)
|
||||||
target_link_libraries(signal_source_libs
|
target_link_libraries(signal_source_libs
|
||||||
PUBLIC
|
PUBLIC
|
||||||
algorithms_libs
|
algorithms_libs
|
||||||
|
@ -52,7 +52,7 @@ if(ENABLE_FPGA)
|
|||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(ENABLE_FPGA OR ENABLE_AD9361)
|
if(ENABLE_FPGA)
|
||||||
set(CORE_LIBS_SOURCES
|
set(CORE_LIBS_SOURCES
|
||||||
${CORE_LIBS_SOURCES}
|
${CORE_LIBS_SOURCES}
|
||||||
uio_fpga.cc
|
uio_fpga.cc
|
||||||
|
Loading…
Reference in New Issue
Block a user