1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-26 12:04:13 -04:00
Commit Graph

5 Commits

Author SHA1 Message Date
Robin Getz 6b353ffd1c cmake: verify minimum codec2 version during discovery
Use pkg-config to verify that codec2 >= 1.1.1 is available before
searching for the headers and library.

If CODEC2_DIR is specified, treat it as an explicit user override and
search that installation directly. Otherwise, use pkg-config to validate
the minimum supported version. If pkg-config is unavailable or an older
codec2 version is installed, disable codec2 support while allowing the
rest of the project to configure normally.

Also update the pkg-config search hints to use the documented
PC_CODEC2_INCLUDE_DIRS and PC_CODEC2_LIBRARY_DIRS variables.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
2026-07-10 20:32:52 -04:00
Sergei I. Korolev d9ea8d4abc Added more flexible build options 2020-05-02 17:57:00 +03:00
f4exb 25fd448c56 Fixed cmake find modules HINTS and PATHS for dependencies that can be compiled locally 2019-07-26 02:04:42 +02:00
Davide Gerhard 2f035dd398 codec2: fix pkgconfig name
codec2 install pkgconfig without lib prefix as stated by source code

on debian /usr/lib/x86_64-linux-gnu/pkgconfig/codec2.pc
on macports /opt/local/lib/pkgconfig/codec2.pc
2019-04-15 15:42:02 +02:00
f4exb f481a28a6c FreeDV modulator: compilation conditional to codec2 library found 2019-02-22 15:57:27 +01:00