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
CMAKE_MAKE_PROGRAM for mingw #10770
CMAKE_MAKE_PROGRAM for mingw #10770
Conversation
arg_list.append('-DCMAKE_SH="CMAKE_SH-NOTFOUND"') | ||
cmake_make_program = self._conanfile.conf.get("tools.gnu:make_program", default=None) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have had a second look, just in case, and it really seems difficult.
So I am approving and merging this. However, I think it would be better if we started storing this arguments in CMakeToolchain
in the conanbuild.conf
file, or even better, if we start considering moving to a CMakePresets.json compatible format.
Changelog: Fix: Set
-DCMAKE_MAKE_PROGRAM
when the generator is for MinGW and the conftools.gnu:make_program
is set.Docs: omit