Skip to content

Investigate find_program() #669

@memsharded

Description

@memsharded

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions