1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-19 00:04:58 +00:00

Fix debian10 building

This commit is contained in:
Carles Fernandez 2019-10-09 22:55:20 +02:00
parent 94bef678af
commit 8eca3f7cf0
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -67,9 +67,13 @@ if(ENABLE_FMCOMMS2 OR ENABLE_AD9361)
target_link_libraries(signal_source_libs target_link_libraries(signal_source_libs
PUBLIC PUBLIC
Iio::iio Iio::iio
)
if(ENABLE_AD9361)
target_link_libraries(signal_source_libs
PRIVATE PRIVATE
Iio::ad9361 Iio::ad9361
) )
endif()
if(LIBAD9361_VERSION) if(LIBAD9361_VERSION)
if(LIBAD9361_VERSION VERSION_GREATER 0.1) if(LIBAD9361_VERSION VERSION_GREATER 0.1)
target_compile_definitions(signal_source_libs target_compile_definitions(signal_source_libs