cmake-conan
cmake-conan copied to clipboard
Improve cmake detection
In some environments there is no path to the cmake. Because the CMAKE_COMMAND variable contains the path to the currently used cmake, set it to the CONAN_CMAKE_PROGRAM will solve this problem. Please see https://github.com/conan-io/conan/issues/7147
Hi @buresu,
Thanks for the contribution but I'm afraid we can't merge this, it's modifying the conan_cmake_run()
function that is going to be deprecated soon and also will overwrite CONAN_CMAKE_PROGRAM
that someone could be using. I think this issue is probably more related to something that has to be fixed in the build environment than something to fix in cmake-conan.
@czoido Hi, Thank you for the review. I understood that, I will close this PR.