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've noticed that dependencies in non-build mode do not provide binary directories to the CMAKE_PROGRAM_PATH, there is code from conan:
# Read information from build contextbuild_req=self._conanfile.dependencies.build.values()
build_bin_paths= []
forreqinbuild_req:
cppinfo=req.cpp_info.aggregated_components()
build_paths.extend(cppinfo.builddirs)
build_bin_paths.extend(cppinfo.bindirs)
I would like to know if it's been done intentionally or not
I have got the following case: I have got a library that exports libraries and includings placed in lib/ and include/ respectively and also have some binary that is installed in /bin and needed by those packages that depend on the being considered. I see that conan_toolchain.cmake does not contain /bin directory in CMAKE_PROGRAM_PATH of that library
Is it considered OK?
I would consider adding binary directories to the CMAKE_PROGRAM_PATH of all dependencies, is it considered harmful and dangerous by the community?
Thank you
Have you read the CONTRIBUTING guide?
I've read the CONTRIBUTING guide
The text was updated successfully, but these errors were encountered:
What is your suggestion?
Hi,
I've noticed that dependencies in non-build mode do not provide binary directories to the CMAKE_PROGRAM_PATH, there is code from conan:
I would like to know if it's been done intentionally or not
I have got the following case: I have got a library that exports libraries and includings placed in lib/ and include/ respectively and also have some binary that is installed in /bin and needed by those packages that depend on the being considered. I see that conan_toolchain.cmake does not contain /bin directory in CMAKE_PROGRAM_PATH of that library
Is it considered OK?
I would consider adding binary directories to the CMAKE_PROGRAM_PATH of all dependencies, is it considered harmful and dangerous by the community?
Thank you
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: