Skip to content

Conversation

@pascalauroboa
Copy link

When building pal_statistics using yocto the generated *Config.cmake files contain absolute paths on the host machine which should not be present when the files are installed onto a target device. This PR makes the exports relocatable and adds modern cmake targets which downstream projects can use like this:

find_package(pal_statistics REQUIRED)

add_library(mylib SHARED ...)

target_link_libraries(mylib PUBLIC pal_statistics::pal_statistics)

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.

1 participant