Skip to content

Conversation

@ethanmusser
Copy link

@ethanmusser ethanmusser commented Nov 5, 2025

Description

@swift-nav/algint-team

Install a CMake package configuration file.

This change permits downstream users configuring with CMake to include the SBP C bindings in their project as follows.

find_package(libsbp CONFIG REQUIRED)
target_link_libraries(my_target PRIVATE swiftnav::sbp)

Currently, those same consumers need to create a custom Findlibsbp.cmake find module script.

API compatibility

Does this change introduce a API compatibility risk?

No. This change simply adds to the installed files. The previous sbp-export target build tree export is preserved.

API compatibility plan

N/A

JIRA Reference

N/A

However, resolves #1528.

@ethanmusser ethanmusser requested a review from a team as a code owner November 5, 2025 20:41
@martin4861 martin4861 self-assigned this Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[C/C++] CMake: Install a package configuration file

2 participants