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

8 Commits

Author SHA1 Message Date
Robin Getz 0f905d015a cmake: verify minimum libcm256cc version via pkg-config
libcm256cc does not expose its package version through its headers or
shared library, making it impossible to verify a minimum supported
version after discovery leading to errors when building.

When CM256CC_DIR is not specified, use pkg-config to verify that
libcm256cc >= 1.1.2 is available before searching for the headers and
library. If the required version is not found, disable CM256 support
and continue configuring the rest of the project.

When CM256CC_DIR is provided, treat it as an explicit user override and
search that installation directly and blindly (don't check version).

Also update the pkg-config hint variables to use the documented
*_INCLUDE_DIRS and *_LIBRARY_DIRS outputs from pkg_check_modules().
https://cmake.org/cmake/help/latest/module/FindPkgConfig.html

Signed-off-by: Robin Getz <rgetz503@gmail.com>
2026-07-10 20:02:08 -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 941aea3b92 cm256cc: fix path and pkgconfig discovery 2019-04-15 15:39:57 +02:00
f4exb cf4b90f3ae cmake files cleanup and build simplification 2019-01-02 21:33:45 +01:00
f4exb c67422fde7 Fixed find cm256cc cmake module 2017-06-06 23:30:08 +02:00
f4exb 7b00c47a71 Fixed cmake module files to search lib64 libraries (as suggested by Martin for OpenSUSE build) 2017-05-08 11:05:15 +02:00
f4exb bda1d8997b SDRdaemonFEC plugin: migrate to new cm256cc library 2016-07-23 19:59:42 +02:00