Pass LIBHACKRF_HAVE_DEVICE_LIST to a #define

Signed-off-by: Heikki Hannikainen <hessu@hes.iki.fi>
soapy_support
Heikki Hannikainen 8 years ago committed by Dimitri Stolnikov
parent dd6690b6ca
commit 2bcd86e55e
  1. 1
      cmake/Modules/FindLibHackRF.cmake

@ -29,5 +29,6 @@ CHECK_FUNCTION_EXISTS(hackrf_device_list LIBHACKRF_HAVE_DEVICE_LIST)
if(LIBHACKRF_HAVE_DEVICE_LIST)
message(STATUS "HackRF multiple device support enabled")
add_definitions(-DLIBHACKRF_HAVE_DEVICE_LIST)
endif(LIBHACKRF_HAVE_DEVICE_LIST)

Loading…
Cancel
Save