forked from sdr/gr-osmosdr
Pass LIBHACKRF_HAVE_DEVICE_LIST to a #define
Signed-off-by: Heikki Hannikainen <hessu@hes.iki.fi>
This commit is contained in:
parent
dd6690b6ca
commit
2bcd86e55e
|
@ -29,5 +29,6 @@ CHECK_FUNCTION_EXISTS(hackrf_device_list LIBHACKRF_HAVE_DEVICE_LIST)
|
||||||
|
|
||||||
if(LIBHACKRF_HAVE_DEVICE_LIST)
|
if(LIBHACKRF_HAVE_DEVICE_LIST)
|
||||||
message(STATUS "HackRF multiple device support enabled")
|
message(STATUS "HackRF multiple device support enabled")
|
||||||
|
add_definitions(-DLIBHACKRF_HAVE_DEVICE_LIST)
|
||||||
endif(LIBHACKRF_HAVE_DEVICE_LIST)
|
endif(LIBHACKRF_HAVE_DEVICE_LIST)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue