1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 04:30:33 +00:00

Fix build bug

This commit is contained in:
Javier 2018-04-13 18:31:35 +02:00
parent bc0bfce0d1
commit ab534e7791

View File

@ -53,13 +53,12 @@ if(ENABLE_FMCOMMS2 OR ENABLE_AD9361)
endif(ENABLE_FMCOMMS2 OR ENABLE_AD9361) endif(ENABLE_FMCOMMS2 OR ENABLE_AD9361)
set (SIGNAL_SOURCE_LIB_SOURCES if(ENABLE_AD9361)
rtl_tcp_commands.cc set(OPT_SIGNAL_SOURCE_LIB_SOURCES ad9361_manager.cc)
rtl_tcp_dongle_info.cc endif(ENABLE_AD9361)
${OPT_SIGNAL_SOURCE_LIB_SOURCES})
if(ENABLE_FPGA) if(ENABLE_FPGA)
SET(SIGNAL_SOURCE_LIB_SOURCES ${SIGNAL_SOURCE_LIB_SOURCES} fpga_switch.cc) SET(OPT_SIGNAL_SOURCE_LIB_SOURCES ${OPT_SIGNAL_SOURCE_LIB_SOURCES} fpga_switch.cc)
endif(ENABLE_FPGA) endif(ENABLE_FPGA)
include_directories( include_directories(
@ -68,6 +67,10 @@ include_directories(
${OPT_DRIVER_INCLUDE_DIRS} ${OPT_DRIVER_INCLUDE_DIRS}
) )
set (SIGNAL_SOURCE_LIB_SOURCES
rtl_tcp_commands.cc
rtl_tcp_dongle_info.cc
${OPT_SIGNAL_SOURCE_LIB_SOURCES})
file(GLOB SIGNAL_SOURCE_LIB_HEADERS "*.h") file(GLOB SIGNAL_SOURCE_LIB_HEADERS "*.h")
list(SORT SIGNAL_SOURCE_LIB_HEADERS) list(SORT SIGNAL_SOURCE_LIB_HEADERS)