Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate find_program() #669

Open
memsharded opened this issue Aug 28, 2024 · 2 comments
Open

Investigate find_program() #669

memsharded opened this issue Aug 28, 2024 · 2 comments
Assignees

Comments

@memsharded
Copy link
Member

At the moment find_program() paths are defined in conan_toolchain.cmake, so they will not work with cmake-conan integration.

They are intended for tool_requires, but also if tool_requires do not have find_package() in many cases, what would be the possibilities?

We could parse the output json and inject the respective paths in CMAKE_PROGRAM_PATHS, like conan_toolchain.cmake does, but someone should call conan install in the first place, and I am not sure we can rely on a random find_package() of another dependency for this.

cc/ @rollebolle

@jcar87
Copy link
Contributor

jcar87 commented Sep 19, 2024

#626

@memsharded
Copy link
Member Author

We will try the approach with CMakeDeps generator: conan-io/conan#17111

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

No branches or pull requests

2 participants