conan-io / conan

Conan - The open-source C and C++ package manager
https://conan.io
MIT License
8.31k stars 986 forks source link

Add test for `cmake_additional_variables_prefixes` for CMakeDeps #17195

Closed AbrilRBS closed 1 month ago

AbrilRBS commented 1 month ago

Changelog: Omit Docs: https://github.com/conan-io/docs/pull/3872

@jcar87 suggested using this as part of the CMakeDeps set_property, but @czoido and I were not sure (and it was not documented anywhere) if it would work. Alas, it does!

This PR adds a test to ensure this can be done from CMakeDeps