build: Fix missing FreeSOLID includes error. #46

Open
apteryx wants to merge 3 commits from apteryx/speed-dreams-code:fix-feesolid-missing-include into main

3 commits

Author SHA1 Message Date
7a3fa96a54
build: Do not hard-code /usr/${SD_LIBDIR}/lib in RUNPATH.
Some checks are pending
/ build (debian-sd:stable) (pull_request) Blocked by required conditions
/ build (ubuntu-sd:jammy) (pull_request) Blocked by required conditions
/ build (pull_request) Blocked by required conditions
This doesn't apply to every system.  For those systems on which it
does apply, their tooling should be setting CMAKE_INSTALL_RPATH to
their system-global locations.

* CMakeLists.txt (CMAKE_INSTALL_RPATH): Remove /usr/${SD_LIBDIR}/lib.
2025-02-01 21:00:52 +09:00
17aa56b432
INSTALL.txt: Delete doc for OPTION_3RDPARTY_SOLID build flag.
It no longer exists.
2025-02-01 21:00:52 +09:00
c8269cf804
build: Fix a missing FreeSOLID includes error.
The <SOLID/solid.h> header would not be made available when using a
pkg-config discovered FreeSOLID library.

* cmake/FindSOLID.cmake: Add IMPORTED_TARGET argument to
'pkg_check_modules' calls.
[PKGCONFIG_FOUND && SOLID_FOUND]: Alias 'solid' to PkgConfig::SOLID.

Fixes: #45
2025-02-01 21:00:52 +09:00