mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 12:10:34 +00:00
Missing precompiler flag for RTLSDR support
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@384 64b25241-fba3-4117-9849-534c7e92360d
This commit is contained in:
parent
641692e005
commit
448c0f6741
@ -67,6 +67,12 @@ if( $ENV{GN3S_DRIVER} )
|
|||||||
add_definitions(-DGN3S_DRIVER)
|
add_definitions(-DGN3S_DRIVER)
|
||||||
endif($ENV{GN3S_DRIVER} )
|
endif($ENV{GN3S_DRIVER} )
|
||||||
|
|
||||||
|
#Enable RTL-SDR module if the driver is present
|
||||||
|
if( $ENV{RTLSDR_DRIVER} )
|
||||||
|
message( "Precompiler RTLSDR_DRIVER enabled" )
|
||||||
|
add_definitions(-DRTLSDR_DRIVER)
|
||||||
|
endif($ENV{RTLSDR_DRIVER} )
|
||||||
|
|
||||||
add_library(gnss_rx ${GNSS_RECEIVER_SOURCES})
|
add_library(gnss_rx ${GNSS_RECEIVER_SOURCES})
|
||||||
target_link_libraries(gnss_rx ${Boost_LIBRARIES} ${ARMADILLO_LIBRARIES} ${GNURADIO_RUNTIME_LIBRARIES} ${GNURADIO_BLOCKS_LIBRARIES} ${GNURADIO_FFT_LIBRARIES} ${GNURADIO_FILTER_LIBRARIES}
|
target_link_libraries(gnss_rx ${Boost_LIBRARIES} ${ARMADILLO_LIBRARIES} ${GNURADIO_RUNTIME_LIBRARIES} ${GNURADIO_BLOCKS_LIBRARIES} ${GNURADIO_FFT_LIBRARIES} ${GNURADIO_FILTER_LIBRARIES}
|
||||||
gnss_system_parameters gnss_sp_libs
|
gnss_system_parameters gnss_sp_libs
|
||||||
|
Loading…
Reference in New Issue
Block a user