With ENABLE_LIBIIO_V1, the Linux external build now fetches libiio
v1.0.0 instead of v0.26, points LIBIIO_INCLUDE_DIR at its include/
directory (for iio/iio.h) and sets LIBIIO_V1. The 0.x compatibility
library, utilities, iiod, examples and tests are not built. libiio 1.x
additionally needs libzstd and libavahi-client.
Building libiio 1.x from source is not set up for Windows and macOS yet:
there ENABLE_LIBIIO_V1 prints a warning and the 0.x build is used.
Nothing changes when ENABLE_LIBIIO_V1 is off.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Use CSPICE's & BladeRF's binary-tree library path when CMAKE_BUILD_TYPE
is None, while retaining SDRangel's external library path for configured builds.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Set DOWNLOAD_EXTRACT_TIMESTAMP to TRUE for the Boost download to use
extraction timestamps and avoid CMP0135 warnings and stale file
timestamps when the downloaded archive changes.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Remove DEPENDS from add_custom_command(TARGET ...) calls. DEPENDS is
supported by the OUTPUT form but not the TARGET form used here.
CMake 3.30 and earlier silently ignored the unsupported argument.
CMake 3.31 introduced CMP0175, which warns about invalid arguments.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Update CSPICE and bladeRF library paths to use the common
external library output directory, including LIB_SUFFIX.
This matches the output location configured by COMMON_CMAKE_ARGS
and fixes builds using the externally built CSPICE and bladeRF
libraries.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
Review feedback on the 2.10.1 bump: the autotools bootstrap step won't
work on Windows. faad2 gained CMake support in 2.11.0, so fetch the
repo at 2.11.2 and build it the same way as opus and hidapi.
FAAD_BUILD_CLI=OFF skips the frontend executable; only libfaad is
needed.