1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-17 16:24:08 -04:00
Files
sdrangel/cmake
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
..
2024-06-16 03:17:56 +02:00
2025-11-14 14:16:15 +01:00
2019-05-28 15:19:12 +02:00