You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I'm adding a feature to automatically install conan runtimes in a cmake library aminya/project_options#279. Since the usage of conan is optional, the repo chooses to use cmake-conan. However, CONAN_RUNTIME_LIB_DIRS is set by CMakeToolchain while cmake-conan could only supports CMakeDeps, so I couldn't install runtimes when using cmake-conan.
I would like to have some way to collect CONAN_RUNTIME_LIB_DIRS when only CMakeDeps is specified.
Have you read the CONTRIBUTING guide?
I've read the CONTRIBUTING guide
The text was updated successfully, but these errors were encountered:
There are some challenges in defining these kind of variables in CMakeDeps generators, because they are very focused on the find_package() and target interfaces. But I am adding this to the next 2.9 for having a look to see if something can be done.
We can probably define this variable in cmake-conan, I think it would make sense to have it. @memsharded - the implementation would actually be very similar to the solution for conan-io/cmake-conan#669
I am adding this variable to the new conan_cmakedeps_paths.cmake generated by the new CMakeDeps in #16964 (which will close this ticket, then it needs to be completed in cmake-conan)
What is your suggestion?
Hi! I'm adding a feature to automatically install conan runtimes in a cmake library aminya/project_options#279. Since the usage of conan is optional, the repo chooses to use cmake-conan. However,
CONAN_RUNTIME_LIB_DIRS
is set by CMakeToolchain while cmake-conan could only supports CMakeDeps, so I couldn't install runtimes when using cmake-conan.I would like to have some way to collect
CONAN_RUNTIME_LIB_DIRS
when only CMakeDeps is specified.Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: